]> git.tdb.fi Git - libs/gl.git/blobdiff - source/animatedobject.h
Get all blocks for the program before applying them
[libs/gl.git] / source / animatedobject.h
index acec4322af1d08ee15c755fe1cdea9368c9af41e..df0b15ebe04e2f6cc6d91090ba60292c14a66adb 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_GL_ANIMATEDOBJECT_H_
 #define MSP_GL_ANIMATEDOBJECT_H_
 
+#include <vector>
 #include "matrix.h"
 #include "objectinstance.h"
 
@@ -15,10 +16,12 @@ class AnimatedObject: public ObjectInstance
 {
 private:
        Matrix matrix;
+       std::vector<float> pose_data;
        ProgramData *shdata;
 
 public:
        AnimatedObject(const Object &);
+       ~AnimatedObject();
 
        void set_matrix(const Matrix &);
        void set_pose_matrix(unsigned, const Matrix &);