Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 13, 2005, 1:20:46 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/textEngine: linear works
example shows an indicator of how fast the framerate is.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/textEngine/src/story_entities/world.cc

    r3784 r3785  
    361361           
    362362            tmpAnim = new Animation<Text>(testText, &Text::setBlending);
    363 
    364             //      tmpAnim->setFuncToAnim(testText, &Text::setBlending);
     363            tmpAnim->addKeyFrame(0.0, 1.0, ANIM_LINEAR);
     364            tmpAnim->addKeyFrame(1.0, 1.0, ANIM_LINEAR);
    365365            break;
    366366          }
     
    786786      this->localCamera->tick(this->dt);
    787787      this->garbageCollector->tick(seconds);
    788       tmpAnim->tick(this->dt);
     788      tmpAnim->tick(seconds);
    789789    }
    790790  this->lastFrame = currentFrame;
Note: See TracChangeset for help on using the changeset viewer.