Changeset 3855 in orxonox.OLD for orxonox/trunk/src/animation3d.h
- Timestamp:
- Apr 17, 2005, 2:46:27 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/animation3d.h
r3852 r3855 13 13 */ 14 14 typedef struct KeyFrame3D { 15 float duration; 16 Vector position; 17 Quaternion direction; 18 ANIM_FUNCTION animFunc; 15 float duration; //!< The duration of this KeyFrame 16 Vector position; //!< The position of this KeyFrame 17 Quaternion direction; //!< The direction of this KeyFrame 18 ANIM_FUNCTION animFunc; //!< with whitch function to iterate to the next KeyFrame3D 19 19 }; 20 20 … … 32 32 33 33 void addKeyFrame(Vector position, Quaternion direction, float time, ANIM_FUNCTION animFunc = ANIM_LINEAR); 34 void addKeyFrame(KeyFrame3D* frame);34 // void addKeyFrame(KeyFrame3D* frame); 35 35 36 36 virtual void tick(float dt); … … 49 49 void random(float timePassed) const; 50 50 // ANIM_FUNCTION animFunc; 51 KeyFrame3D* currentKeyFrame; 52 KeyFrame3D* nextKeyFrame; 53 tList<KeyFrame3D>* keyFrameList; 54 void (Animation3D::*animFunc)(float) const; 51 void (Animation3D::*animFunc)(float) const; //!< A Function for the AnimationType 52 53 KeyFrame3D* currentKeyFrame; //!< The current KeyFrame 54 KeyFrame3D* nextKeyFrame; //!< The KeyFrame we iterate to 55 tList<KeyFrame3D>* keyFrameList; //!< The KeyFrameList 55 56 56 57 // more class-local description 57 PNode* object; 58 Vector lastPosition; 59 Vector tmpVect; 60 float deltaT; 58 PNode* object; //!< The Object from which to Animate something 59 Vector lastPosition; //!< ?? 60 Vector tmpVect; //!< what for?? 61 float deltaT; //!< ?? 61 62 };
Note: See TracChangeset
for help on using the changeset viewer.