X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fanimatedobject.h;h=df0b15ebe04e2f6cc6d91090ba60292c14a66adb;hb=e45ade69a77f7ba91b47bebad604ae29b5705b21;hp=4f6085ff84ce146974bcfa2e64f84b23fa672c64;hpb=4c5ba8f7d3bc755d6256cb6bf75907a1b10fc290;p=libs%2Fgl.git diff --git a/source/animatedobject.h b/source/animatedobject.h index 4f6085ff..df0b15eb 100644 --- a/source/animatedobject.h +++ b/source/animatedobject.h @@ -1,6 +1,7 @@ #ifndef MSP_GL_ANIMATEDOBJECT_H_ #define MSP_GL_ANIMATEDOBJECT_H_ +#include #include "matrix.h" #include "objectinstance.h" @@ -15,11 +16,15 @@ class AnimatedObject: public ObjectInstance { private: Matrix matrix; + std::vector pose_data; + ProgramData *shdata; public: AnimatedObject(const Object &); + ~AnimatedObject(); void set_matrix(const Matrix &); + void set_pose_matrix(unsigned, const Matrix &); virtual void setup_render(Renderer &, const Tag &) const; };