]> git.tdb.fi Git - libs/gl.git/blobdiff - source/animatedobject.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / animatedobject.h
diff --git a/source/animatedobject.h b/source/animatedobject.h
deleted file mode 100644 (file)
index 23333ee..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#ifndef MSP_GL_ANIMATEDOBJECT_H_
-#define MSP_GL_ANIMATEDOBJECT_H_
-
-#include <vector>
-#include <msp/datafile/objectloader.h>
-#include "keyframe.h"
-#include "matrix.h"
-#include "objectinstance.h"
-
-namespace Msp {
-namespace GL {
-
-/**
-An object instance that can be animated by an AnimationPlayer.
-*/
-class AnimatedObject: public ObjectInstance
-{
-public:
-       class Loader: public DataFile::ObjectLoader<AnimatedObject>
-       {
-       public:
-               Loader(AnimatedObject &);
-
-       private:
-               void position(float, float, float);
-               void rotation(float, float, float, float);
-               void scale(float, float, float);
-               void scale_uniform(float);
-       };
-
-private:
-       std::vector<float> pose_data;
-       ProgramData *shdata;
-
-public:
-       AnimatedObject(const Object &);
-       ~AnimatedObject();
-
-       void set_pose_matrix(unsigned, const Matrix &);
-       void set_uniform(const std::string &, const KeyFrame::AnimatedUniform &);
-
-       virtual const Matrix *get_matrix() const { return &matrix; }
-
-       virtual void setup_render(Renderer &, const Tag &) const;
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif