+++ /dev/null
-#ifndef MSP_GL_KEYFRAME_H_
-#define MSP_GL_KEYFRAME_H_
-
-#include <msp/datafile/objectloader.h>
-#include "matrix.h"
-
-namespace Msp {
-namespace GL {
-
-/**
-Keyframes are used to encapsulate object state for animation.
-*/
-class KeyFrame
-{
-public:
- class Loader: public DataFile::ObjectLoader<KeyFrame>
- {
- public:
- Loader(KeyFrame &);
- private:
- void position(float, float, float);
- void rotation(float, float, float, float);
- void scaling_uniform(float);
- void scaling(float, float, float);
- };
-
-private:
- Matrix matrix;
-
-public:
- const Matrix &get_matrix() const { return matrix; }
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif