diff --git a/CMakeLists.txt b/CMakeLists.txt index b4d711b..c9144d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,6 +60,7 @@ cm_example_project("DataType" IDNameTest datatype/IDNameTest.cpp) #################################################################################################### cm_example_project("Math" OutputEpsilon math/OutputEpsilon.cpp) cm_example_project("Math" TransformBenchmark math/TransformBenchmark.cpp) +cm_example_project("Math" RotateMatrix math/RotateMatrix.cpp) #################################################################################################### cm_example_project("DataType/Collection" LifetimeTest datatype/collection/LifetimeTest.cpp) diff --git a/math/RotateMatrix.cpp b/math/RotateMatrix.cpp new file mode 100644 index 0000000..74c42c5 --- /dev/null +++ b/math/RotateMatrix.cpp @@ -0,0 +1,39 @@ +#include +#include +#include + +void PrintMatrix(const char *name,const glm::mat4 &m) +{ + std::cout<<"Matrix:"<