- Timestamp:
- May 24, 2019, 8:52:32 PM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 6abfd07
- Parents:
- 98f06d9
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (05/24/19 20:22:31)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (05/24/19 20:52:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils.h
r98f06d9 ra23fc08 1 #ifndef __UTILS_H__ 2 #define __UTILS_H__ 3 4 #include <string> 5 6 #include <glm/mat4x4.hpp> 7 8 using namespace std; 9 using namespace glm; 10 11 float getRandomNum(float low, float high); 12 13 void printVec3(string label, const vec3& v); 14 void printVec4(string label, const vec4& v); 15 void printMat4(string label, const mat4& m); 16 1 17 // Code for offset_of function from https://gist.github.com/graphitemaster/494f21190bb2c63c5516 2 18 … … 16 32 return offset_of_impl<T1, T2>::offset(member); 17 33 } 34 35 #endif
Note:
See TracChangeset
for help on using the changeset viewer.