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/utils/sceneparser.h | |
| parent | 965859204890f980594f5fff1d20a46bb8606f55 (diff) | |
cleaup sceneparser.cpp file
Diffstat (limited to 'src/utils/sceneparser.h')
| -rw-r--r-- | src/utils/sceneparser.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/sceneparser.h b/src/utils/sceneparser.h index 8155ca8..fa8a2ac 100644 --- a/src/utils/sceneparser.h +++ b/src/utils/sceneparser.h @@ -30,4 +30,10 @@ public: // @param renderData On return, this will contain the metadata of the loaded scene. // @return A boolean value indicating whether the parse was successful. static bool parse(std::string filepath, RenderData &renderData); + + static glm::mat4 getRotationMatrix4(float angle, glm::vec3 axis3, glm::vec3 axisW); + + static void translate4(glm::vec4 &v1, glm::vec4 v2); + + static void scale4(glm::vec4 &v1, glm::vec4 v2); }; |
