X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fkeyframe.h;h=5b748add113c5432c0d3c5836e6fceaf4db8b590;hb=HEAD;hp=bc3d65ecbfa80fec692d21f326f4e016e2bd5df7;hpb=8cbb77df13c4a0e6d6ae0f8b32913cf7e5b2f59c;p=libs%2Fgl.git diff --git a/source/keyframe.h b/source/keyframe.h deleted file mode 100644 index bc3d65ec..00000000 --- a/source/keyframe.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef MSP_GL_KEYFRAME_H_ -#define MSP_GL_KEYFRAME_H_ - -#include -#include "matrix.h" - -namespace Msp { -namespace GL { - -/** -Keyframes are used to encapsulate object state for animation. -*/ -class KeyFrame -{ -public: - class Loader: public DataFile::ObjectLoader - { - 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: - void set_matrix(const Matrix &); - const Matrix &get_matrix() const { return matrix; } -}; - -} // namespace GL -} // namespace Msp - -#endif