- Timestamp:
- Apr 7, 2021, 2:51:53 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 5049354
- Parents:
- 5081b9a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils.cpp
r5081b9a rdb2d995 26 26 } 27 27 28 void printVec3(string label, const vec3& v) { 28 void printVec(string label, const vec2& v) { 29 cout << label << " -> (" << v.x << "," << v.y << ")" << endl; 30 } 31 32 void printVec(string label, const vec3& v) { 29 33 cout << label << " -> (" << v.x << "," << v.y << "," << v.z << ")" << endl; 30 34 } 31 35 32 void printVec 4(string label, const vec4& v) {36 void printVec(string label, const vec4& v) { 33 37 cout << label << " -> (" << v.x << "," << v.y << "," << v.z << "," << v.w << ")" << endl; 34 38 } 35 39 36 void printMat 4(string label, const mat4& m) {40 void printMat(string label, const mat4& m) { 37 41 cout << label << ": " << endl; 38 42 cout << "[ " << m[0][0] << " " << m[1][0] << " " << m[2][0] << " " << m[3][0] << " ]" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.