1 #ifndef MSP_GL_ANIMATEDOBJECT_H_
2 #define MSP_GL_ANIMATEDOBJECT_H_
6 #include "objectinstance.h"
12 An object instance that can be animated. Despite the name, this can also be
13 useful for displaying objects at a static position.
15 class AnimatedObject: public ObjectInstance
19 std::vector<float> pose_data;
23 AnimatedObject(const Object &);
26 void set_matrix(const Matrix &);
27 void set_pose_matrix(unsigned, const Matrix &);
29 virtual const Matrix *get_matrix() const { return &matrix; }
31 virtual void setup_render(Renderer &, const Tag &) const;