X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fkeyframe.h;h=5b748add113c5432c0d3c5836e6fceaf4db8b590;hb=HEAD;hp=4b0fa5bdcafd1c9b313654a4cb27cca7a3c65ed1;hpb=4c5ba8f7d3bc755d6256cb6bf75907a1b10fc290;p=libs%2Fgl.git diff --git a/source/keyframe.h b/source/keyframe.h deleted file mode 100644 index 4b0fa5bd..00000000 --- a/source/keyframe.h +++ /dev/null @@ -1,37 +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: - const Matrix &get_matrix() const { return matrix; } -}; - -} // namespace GL -} // namespace Msp - -#endif