Fix bone offset matrix being unnecessarily inverted
[opengl.git] / model.hpp
index 5c74cb386ef50a1bca316dc3bd286132710c939c..2803a7ee3cc7147550af2928ce5978419727f6f8 100644 (file)
--- a/model.hpp
+++ b/model.hpp
@@ -45,7 +45,6 @@ class Model {
                                void draw(const std::vector<Mesh> &meshes, const std::vector<Material> &materials, const Skybox s, const float tick, glm::mat4 parentModel, BoneTransforms boneTransforms) const;
                                const std::vector<Node*> &getChildren() const { return children; }
                                Node* findNode(const aiNode &aiNode);
-                               glm::mat4 model = glm::mat4(1);
                                const aiNode &ai;
 
                        private: