26 lines
442 B
C++
26 lines
442 B
C++
/**
|
|
utilities - extra functions that didn't really belong
|
|
inside of a class or the main file.
|
|
*/
|
|
|
|
#include "utilities.h"
|
|
|
|
using namespace std;
|
|
|
|
void printGlmMat4(glm::mat4 m) {
|
|
for (uint i = 0; i < 4; i++) {
|
|
for (uint j = 0; j < 4; j++) {
|
|
cout << m[i][j] << " ";
|
|
}
|
|
cout << endl;
|
|
}
|
|
cout << endl;
|
|
}
|
|
|
|
void printGlmVec3(glm::vec3 v) {
|
|
for (uint i = 0; i < 3; i++) {
|
|
cout << v[i] << " ";
|
|
}
|
|
cout << endl;
|
|
}
|