Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3832 in orxonox.OLD for orxonox/trunk/src/simple_animation.cc


Ignore:
Timestamp:
Apr 14, 2005, 1:16:31 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: animation class functions implemented, list enhanced

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/simple_animation.cc

    r3755 r3832  
    355355            case NEG_EXP:
    356356              *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));     
    358358              anim->currentFrame->object->setRelCoor(*anim->lastFrame->position + *anim->tmpVect);
    359359              *anim->lastPosition = *anim->tmpVect;
Note: See TracChangeset for help on using the changeset viewer.