Changeset 10581 in orxonox.OLD for branches/cleanup/src/util/animation/animation3d.h
- Timestamp:
- Feb 8, 2007, 12:20:20 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cleanup/src/util/animation/animation3d.h
r6616 r10581 16 16 This represents one point with direction of the animation 17 17 */ 18 typedef struct KeyFrame3D { 18 typedef struct KeyFrame3D 19 { 19 20 float duration; //!< The duration of this KeyFrame 20 21 Vector position; //!< The position of this KeyFrame … … 31 32 class Animation3D : public Animation 32 33 { 33 34 public: 34 35 Animation3D(PNode* object); 35 36 virtual ~Animation3D(); … … 44 45 virtual void tick(float dt); 45 46 46 47 private: 47 48 // animation functions 48 49 void setAnimFuncMov(ANIM_FUNCTION animFunc); … … 69 70 70 71 71 private: 72 KeyFrame3D* currentKeyFrame; //!< The current KeyFrame 73 KeyFrame3D* nextKeyFrame; //!< The KeyFrame we iterate to 74 tList<KeyFrame3D>* keyFrameList; //!< The KeyFrameList 72 private: 73 typedef std::list<KeyFrame3D> KeyFrameList; //!< A Type definition for th KeyFrame List 74 typedef KeyFrameList::iterator KeyFrameIterator; //!< A Type definition for th KeyFrame List 75 76 KeyFrameIterator currentKeyFrame; //!< The current KeyFrame 77 KeyFrameIterator nextKeyFrame; //!< The KeyFrame we iterate to 78 KeyFrameList keyFrameList; //!< The KeyFrameList 75 79 76 80
Note: See TracChangeset
for help on using the changeset viewer.