Changeset 3731 in orxonox.OLD for orxonox/trunk/src/simple_animation.cc
- Timestamp:
- Apr 6, 2005, 12:44:49 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/simple_animation.cc
r3730 r3731 275 275 case LINEAR: 276 276 277 *this->tmpVect = *this-> currentFrame->position - *this->lastFrame->position;277 *this->tmpVect = *this->lastFrame->position - *this->currentFrame->position; 278 278 *this->tmpVect = *this->tmpVect * this->localTime / this->currentFrame->time; 279 this->currentFrame->object->shiftCoor(*this->tmpVect - *this->lastPosition); 279 //this->currentFrame->object->shiftCoor(*this->tmpVect - *this->lastPosition); 280 this->currentFrame->object->setRelCoor(*this->currentFrame->position + *this->tmpVect); 280 281 *this->lastPosition = *this->tmpVect; 282 //printf("shift vector: ");this->lastPosition->debug(); 281 283 break; 282 284 case EXP:
Note: See TracChangeset
for help on using the changeset viewer.