aboutsummaryrefslogtreecommitdiff
path: root/src/vec4ops/vec4ops.h
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-12-13 15:36:52 -0500
committersotech117 <michael_foiani@brown.edu>2023-12-13 15:36:52 -0500
commit6e27cd596611758bf82f58cff25ad6310bb5ad6e (patch)
tree6794163f31433cf63475956859abebf3c2cb1fa6 /src/vec4ops/vec4ops.h
parent4a1527bdb10f8953fa3f387f5cb3144805541738 (diff)
add translation of camera
Diffstat (limited to 'src/vec4ops/vec4ops.h')
-rw-r--r--src/vec4ops/vec4ops.h3
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