Changeset 3858 in orxonox.OLD for orxonox/trunk/src/t_animation.h
- Timestamp:
- Apr 17, 2005, 3:27:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/t_animation.h
r3857 r3858 185 185 // checking, if we should still Play the animation 186 186 if (this->currentKeyFrame == this->keyFrameList->lastElement()) 187 { 188 switch (this->postInfinity) 189 { 190 case ANIM_INF_CONSTANT: 191 this->localTime = 0.0; 192 this->bRunning = false; 193 break; 194 case ANIM_INF_REWIND: 195 this->replay(); 196 break; 197 } 198 } 187 this->handleInfinity(); 199 188 this->nextKeyFrame = this->keyFrameList->nextElement(this->currentKeyFrame); 200 189 printf("%p from:%f to:%f\n", this->currentKeyFrame,this->currentKeyFrame->value, this->nextKeyFrame->value);
Note: See TracChangeset
for help on using the changeset viewer.