]> git.tdb.fi Git - libs/gl.git/blobdiff - source/keyframe.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / keyframe.h
diff --git a/source/keyframe.h b/source/keyframe.h
deleted file mode 100644 (file)
index ccfbda9..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#ifndef MSP_GL_KEYFRAME_H_
-#define MSP_GL_KEYFRAME_H_
-
-#include <msp/core/refptr.h>
-#include <msp/datafile/objectloader.h>
-#include "matrix.h"
-
-namespace Msp {
-namespace GL {
-
-class Pose;
-
-/**
-Keyframes are used to encapsulate object state for animation.
-*/
-class KeyFrame
-{
-public:
-       class Loader: public DataFile::CollectionObjectLoader<KeyFrame>
-       {
-       public:
-               Loader(KeyFrame &);
-               Loader(KeyFrame &, Collection &);
-       private:
-               void init();
-
-               void pose(const std::string &);
-               void pose_inline();
-               void position(float, float, float);
-               void rotation(float, float, float, float);
-               void scaling_uniform(float);
-               void scaling(float, float, float);
-       };
-
-private:
-       Matrix matrix;
-       RefPtr<const Pose> pose;
-
-public:
-       void set_matrix(const Matrix &);
-       void set_pose(const Pose &);
-       const Matrix &get_matrix() const { return matrix; }
-       const Pose *get_pose() const { return pose.get(); }
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif