Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3852 in orxonox.OLD for orxonox/trunk/src/t_animation.h


Ignore:
Timestamp:
Apr 17, 2005, 1:39:10 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: new Animation3D is now ready for setting up of the Functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/t_animation.h

    r3851 r3852  
    3636  void addKeyFrame(float value, float duration, ANIM_FUNCTION animFunc = ANIM_LINEAR);
    3737
    38   virtual void tick(float timePassed);
     38  virtual void tick(float dt);
    3939
    4040  // animation functions
     
    154154
    155155template<class T>
    156 void tAnimation<T>::tick(float timePassed)
     156void tAnimation<T>::tick(float dt)
    157157{
    158158  if (this->bRunning)
    159159    {
    160       this->localTime += timePassed;
     160      this->localTime += dt;
    161161      if (localTime >= this->currentKeyFrame->duration)
    162162        {
Note: See TracChangeset for help on using the changeset viewer.