Changeset 3970 in orxonox.OLD for orxonox/trunk/src/util/animation
- Timestamp:
- Apr 26, 2005, 1:03:11 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/animation/animation3d.cc
r3968 r3970 134 134 /* now animate it */ 135 135 (this->*animFunc)(this->localTime); 136 137 136 } 138 137 } … … 203 202 (this->nextKeyFrame->position - this->currentKeyFrame->position) * 204 203 (timePassed/this->currentKeyFrame->duration)); 204 205 this->object->setRelDir( this->nextKeyFrame->direction.quatSlerp( this->nextKeyFrame->direction, 206 this->currentKeyFrame->direction, timePassed / 207 this->currentKeyFrame->duration) ); 208 205 209 } 206 210
Note: See TracChangeset
for help on using the changeset viewer.