Tidy up and get IK working
[opengl.git] / model.hpp
index e74d65717973400120fd38eb4f2e4a71ba4418b3..a3a290c80096279f31d105265316e23d1d316479 100644 (file)
--- 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;