Changeset 3832 in orxonox.OLD for orxonox/trunk/src/simple_animation.cc
- Timestamp:
- Apr 14, 2005, 1:16:31 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/simple_animation.cc
r3755 r3832 355 355 case NEG_EXP: 356 356 *anim->tmpVect = *anim->currentFrame->position - *anim->lastFrame->position; 357 *anim->tmpVect = *anim->tmpVect * (1 - exp (- anim->localTime * anim->deltaT));357 *anim->tmpVect = *anim->tmpVect * (1 - expf(- anim->localTime * anim->deltaT)); 358 358 anim->currentFrame->object->setRelCoor(*anim->lastFrame->position + *anim->tmpVect); 359 359 *anim->lastPosition = *anim->tmpVect;
Note: See TracChangeset
for help on using the changeset viewer.