--- /dev/null
+#ifndef MSP_GL_ANIMATEDOBJECT_H_
+#define MSP_GL_ANIMATEDOBJECT_H_
+
+#include "matrix.h"
+#include "objectinstance.h"
+
+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.
+*/
+class AnimatedObject: public ObjectInstance
+{
+private:
+ Matrix matrix;
+
+public:
+ AnimatedObject(const Object &);
+
+ void set_matrix(const Matrix &);
+
+ virtual void setup_render(Renderer &, const Tag &) const;
+};
+
+} // namespace GL
+} // namespace Msp
+
+#endif