X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fanimatedobject.h;h=f9b8824e1832932786189a99a9b2ca8a58eb2f3d;hp=74e59fc8a76071196baf10da16a3ab7598ab14bf;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hpb=97b8f0d945474582c2213b70418d399e5641f0d5 diff --git a/source/animatedobject.h b/source/animatedobject.h index 74e59fc8..f9b8824e 100644 --- a/source/animatedobject.h +++ b/source/animatedobject.h @@ -2,6 +2,7 @@ #define MSP_GL_ANIMATEDOBJECT_H_ #include +#include #include #include "keyframe.h" #include "matrix.h" @@ -16,7 +17,7 @@ An object instance that can be animated by an AnimationPlayer. class AnimatedObject: public ObjectInstance { public: - class Loader: public DataFile::ObjectLoader + class Loader: public DataFile::DerivedObjectLoader { public: Loader(AnimatedObject &); @@ -40,8 +41,7 @@ public: ProgramData &get_shader_data(); const ProgramData &get_shader_data() const; - // Deprecated - void set_uniform(const std::string &, const KeyFrame::AnimatedUniform &); + DEPRECATED void set_uniform(const std::string &, const KeyFrame::AnimatedUniform &); virtual const Matrix *get_matrix() const { return &matrix; }