]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pose.h
Check for armature mismatches in Animation
[libs/gl.git] / source / pose.h
index 5f37c414d4e60d127626a68db3f53dfa352a19cd..cbd8137bc4b861f5ccdb7d3e9b0411e754c57faa 100644 (file)
@@ -18,6 +18,7 @@ public:
        public:
                Loader(Pose &, Collection &);
        private:
+               void armature(const std::string &);
                void link(const std::string &);
        };
 
@@ -47,6 +48,7 @@ public:
        Pose(const Armature &);
 
        void set_armature(const Armature &);
+       const Armature *get_armature() const { return armature; }
        void rotate_link(unsigned, float, const Vector3 &);
        const Matrix &get_link_matrix(unsigned) const;
 };