diff options
Diffstat (limited to 'src/vec4ops/vec4ops.h')
-rw-r--r-- | src/vec4ops/vec4ops.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vec4ops/vec4ops.h b/src/vec4ops/vec4ops.h index 796722a..f4f62f1 100644 --- a/src/vec4ops/vec4ops.h +++ b/src/vec4ops/vec4ops.h @@ -6,6 +6,7 @@ #define PROJECTS_RAY_VEC4OPS_H #include <glm/glm.hpp> +#include <vector> class Vec4Ops { public: @@ -36,6 +37,8 @@ public: static glm::vec4 inverseTransformDir4(glm::vec4 dir4, glm::mat4 inverseTransformDirectionMatrix); static glm::mat4 getViewMatrix4(glm::vec4 upVector, glm::vec4 lookVector, glm::vec4 overVector); + + static glm::mat4 getRotationMatrix4(std::vector<float> anglesRadians); }; #endif //PROJECTS_RAY_VEC4OPS_H |