]> git.tdb.fi Git - libs/gl.git/blobdiff - source/animation.h
Use vector when there's no reason to use some other container
[libs/gl.git] / source / animation.h
index 32a06075ec18269450a9ab329317e1e7551b8994..929cb13f497318c3a91492cc1cf18d36584f267e 100644 (file)
@@ -73,8 +73,6 @@ private:
                void prepare();
        };
 
-       typedef std::list<TimedKeyFrame> KeyFrameList;
-
        struct UniformInfo
        {
                std::string name;
@@ -88,7 +86,7 @@ public:
        {
        private:
                const Animation *animation;
-               KeyFrameList::const_iterator iter;
+               std::vector<TimedKeyFrame>::const_iterator iter;
                Time::TimeDelta time_since_keyframe;
                bool end;
 
@@ -105,7 +103,7 @@ public:
 
 private:
        const Armature *armature;
-       KeyFrameList keyframes;
+       std::vector<TimedKeyFrame> keyframes;
        bool looping;
        std::vector<UniformInfo> uniforms;