X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fanimation.h;h=dd3cc688c41290316450858a7d540a79e93dcfb8;hp=a5f77b46c4eb185a733a4f65355f4c67526e1545;hb=89a1ada18430079896cfb28862e61bb32d66b8a0;hpb=a993091fbb8fdb76a1d02be9de59529c14b59cf0 diff --git a/source/animation.h b/source/animation.h index a5f77b46..dd3cc688 100644 --- a/source/animation.h +++ b/source/animation.h @@ -60,7 +60,6 @@ private: struct TimedKeyFrame { - const Animation &animation; const TimedKeyFrame *prev; Time::TimeDelta time; Time::TimeDelta delta_t; @@ -69,8 +68,8 @@ private: std::vector uniforms; std::vector pose_matrices; - TimedKeyFrame(const Animation &); - void prepare(); + TimedKeyFrame(); + void prepare(const Animation &); }; struct UniformInfo