Changeset 10618 in orxonox.OLD for trunk/src/util/animation/animation3d.h
- Timestamp:
- Apr 4, 2007, 12:13:53 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 16 16 OrxonoxPlayability.kdevses 17 17 OrxonoxPlayability.kdevelop.pcs 18 orxonox.backtrace 19 orxonox.kdevses 20 orxonox.kdevelop.pcs
-
- Property svn:ignore
-
trunk/src/util/animation/animation3d.h
r6616 r10618 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.