Changeset 4485 in orxonox.OLD for orxonox/trunk/src/util/animation/animation3d.h
- Timestamp:
- Jun 3, 2005, 12:19:43 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/animation/animation3d.h
r3981 r4485 16 16 */ 17 17 typedef struct KeyFrame3D { 18 float duration;//!< The duration of this KeyFrame19 Vector position;//!< The position of this KeyFrame20 Vector lastPosition;21 Quaternion direction; //!< The direction of this KeyFrame22 ANIM_FUNCTION animFuncMov;//!< with whitch function to iterate movement to the next KeyFrame3D23 ANIM_FUNCTION animFuncRot;//!< with whitch function to iterate rotation to the next KeyFrame3D18 float duration; //!< The duration of this KeyFrame 19 Vector position; //!< The position of this KeyFrame 20 Vector lastPosition; //!< The last known position 21 Quaternion direction; //!< The direction of this KeyFrame 22 ANIM_FUNCTION animFuncMov; //!< with whitch function to iterate movement to the next KeyFrame3D 23 ANIM_FUNCTION animFuncRot; //!< with whitch function to iterate rotation to the next KeyFrame3D 24 24 }; 25 25 26 //! Animation Struct26 //! Animation Class for 3D-transformations (movement and rotation) 27 27 /** 28 28 This represents an animation for a object … … 65 65 void (Animation3D::*animFuncRot)(float) const; //!< A Function for the AnimationType 66 66 67 KeyFrame3D* currentKeyFrame; //!< The current KeyFrame 68 KeyFrame3D* nextKeyFrame; //!< The KeyFrame we iterate to 69 tList<KeyFrame3D>* keyFrameList; //!< The KeyFrameList 67 68 private: 69 KeyFrame3D* currentKeyFrame; //!< The current KeyFrame 70 KeyFrame3D* nextKeyFrame; //!< The KeyFrame we iterate to 71 tList<KeyFrame3D>* keyFrameList; //!< The KeyFrameList 72 70 73 71 74 // more class-local description 72 PNode* object;//!< The Object from which to Animate something73 Vector lastPosition; //!< ??74 Vector tmpVect; //!< what for??75 float deltaT; //!< ??76 float expFactorMov;77 float expFactorRot;75 PNode* object; //!< The Object from which to Animate something 76 Vector lastPosition; //!< last Object 77 Vector tmpVect; //!< temporary vector 78 float deltaT; //!< time passed since last 79 float expFactorMov; //!< exponential Factor for movement 80 float expFactorRot; //!< exponential Factor for rotation 78 81 };
Note: See TracChangeset
for help on using the changeset viewer.