Changeset 3978 in orxonox.OLD for orxonox/trunk/src/util/animation/animation3d.cc
- Timestamp:
- Apr 26, 2005, 2:13:40 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/animation/animation3d.cc
r3977 r3978 82 82 \param direction The direction of the new Keyframe. 83 83 \param duration The duration from the new KeyFrame to the next one 84 \param animFunc The function to animate between this keyFrame and the next one 84 \param animFuncMov The function to animate position between this keyFrame and the next one 85 \param animFuncMov The function to animate rotation between this keyFrame and the next one 85 86 */ 86 87 void Animation3D::addKeyFrame(Vector position, Quaternion direction, float duration, ANIM_FUNCTION animFuncMov, ANIM_FUNCTION animFuncRot) … … 89 90 if (duration <= 0.0) 90 91 duration = 1.0; 92 // if the Rotation-Animation-function is set ANIM_NULL, animFuncRot will match animFuncRot 93 if (animFuncRot == ANIM_NULL) 94 animFuncRot = animFuncMov; 91 95 92 96 KeyFrame3D* tmpKeyFrame;
Note: See TracChangeset
for help on using the changeset viewer.