]> git.tdb.fi Git - libs/gl.git/blobdiff - source/animatedobject.h
Add a new Placeable base class
[libs/gl.git] / source / animatedobject.h
index b7f480054275d44148ca714c659af2ad548ce0d2..23333ee53dfb4e5e347c97ed97d7c05b033e737a 100644 (file)
@@ -11,8 +11,7 @@ namespace Msp {
 namespace GL {
 
 /**
-An object instance that can be animated.  Despite the name, this can also be
-useful for displaying objects at a static position.
+An object instance that can be animated by an AnimationPlayer.
 */
 class AnimatedObject: public ObjectInstance
 {
@@ -30,7 +29,6 @@ public:
        };
 
 private:
-       Matrix matrix;
        std::vector<float> pose_data;
        ProgramData *shdata;
 
@@ -38,7 +36,6 @@ public:
        AnimatedObject(const Object &);
        ~AnimatedObject();
 
-       void set_matrix(const Matrix &);
        void set_pose_matrix(unsigned, const Matrix &);
        void set_uniform(const std::string &, const KeyFrame::AnimatedUniform &);