X-Git-Url: https://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=model.hpp;h=a3a290c80096279f31d105265316e23d1d316479;hp=e74d65717973400120fd38eb4f2e4a71ba4418b3;hb=ad77a970429c9c5e9cf8d513d0469d03ad82e622;hpb=671418e7effc7cbbb7e05df216291406d2b82dd7 diff --git a/model.hpp b/model.hpp index e74d657..a3a290c 100644 --- a/model.hpp +++ b/model.hpp @@ -73,6 +73,7 @@ class Model { glm::mat4 totalTrans(const glm::mat4 parentTrans, const float tick) const; const Node *parent; + const Node &getRoot() const; bool operator==(const Node &rhs) const;