Changeset 3872 in orxonox.OLD for orxonox/trunk
- Timestamp:
- Apr 18, 2005, 3:54:35 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/track_manager.cc
r3871 r3872 394 394 // initializing the Animation for the Text. 395 395 this->textAnimation = new tAnimation<Text>(this->trackText, &Text::setBlending); 396 this->textAnimation->addKeyFrame(1.0, 3.0, ANIM_ COSINE);396 this->textAnimation->addKeyFrame(1.0, 3.0, ANIM_NEG_EXP); 397 397 this->textAnimation->addKeyFrame(0.0, .001); 398 398 this->textAnimation->setInfinity(ANIM_INF_CONSTANT); -
orxonox/trunk/src/util/animation/animation3d.cc
r3868 r3872 72 72 this->nextKeyFrame = keyFrameList->nextElement(keyFrameList->firstElement()); 73 73 this->localTime = 0.0; 74 this->setAnimFunc(this->currentKeyFrame->animFunc); 74 75 } 75 76 -
orxonox/trunk/src/util/animation/t_animation.h
r3871 r3872 127 127 this->nextKeyFrame = keyFrameList->nextElement(keyFrameList->firstElement()); 128 128 this->localTime = 0.0; 129 this->setAnimFunc(this->currentKeyFrame->animFunc); 129 130 } 130 131 … … 308 309 float tAnimation<T>::exp(float timePassed) const 309 310 { 311 return this->linear(timePassed); 312 310 313 } 311 314
Note: See TracChangeset
for help on using the changeset viewer.