diff options
| author | sotech117 <michael_foiani@brown.edu> | 2023-12-08 13:58:54 -0500 |
|---|---|---|
| committer | sotech117 <michael_foiani@brown.edu> | 2023-12-08 13:58:54 -0500 |
| commit | df15d0f234f464f53cfb2480f31a901f9df51ba7 (patch) | |
| tree | 00b10ed9ef685317846ec38b9117ab8b439d516e /src/4dvecops/vec4ops.h | |
| parent | 965859204890f980594f5fff1d20a46bb8606f55 (diff) | |
cleaup sceneparser.cpp file
Diffstat (limited to 'src/4dvecops/vec4ops.h')
| -rw-r--r-- | src/4dvecops/vec4ops.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/4dvecops/vec4ops.h b/src/4dvecops/vec4ops.h new file mode 100644 index 0000000..48d9139 --- /dev/null +++ b/src/4dvecops/vec4ops.h @@ -0,0 +1,26 @@ +// +// Created by Michael Foiani on 12/8/23. +// + +#ifndef PROJECTS_RAY_VEC4OPS_H +#define PROJECTS_RAY_VEC4OPS_H + +#include <glm/glm.hpp> + +class Vec4Ops { +public: + + static glm::mat4 getRotationMatrix4XY(float angleRadians); + + static glm::mat4 getRotationMatrix4YZ(float angleRadians); + + static glm::mat4 getRotationMatrix4ZX(float angleRadians); + + static glm::mat4 getRotationMatrix4XW(float angleRadians); + + static glm::mat4 getRotationMatrix4YW(float angleRadians); + + static glm::mat4 getRotationMatrix4ZW(float angleRadians); +}; + +#endif //PROJECTS_RAY_VEC4OPS_H |
