Changeset 3980 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- Apr 26, 2005, 2:48:43 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/animation/animation3d.cc
r3979 r3980 15 15 2005-04-17: Benjamin Grauer 16 16 Rewritte all functions, so it will fit into the Animation-class 17 2005-04-25: Patrick Boenzli 18 Extended the framework to support quatSlerp rotations. Each frame now supports diff mov/rot types. Implemented mov/rot functions 17 19 */ 18 20 … … 220 222 (this->nextKeyFrame->position - this->currentKeyFrame->position) * 221 223 (timePassed/this->currentKeyFrame->duration)); 222 223 this->object->setRelDir(quatSlerp( this->nextKeyFrame->direction,224 this->currentKeyFrame->direction,225 timePassed/this->currentKeyFrame->duration) );226 227 224 } 228 225 … … 411 408 void Animation3D::rExp(float timePassed) const 412 409 { 413 410 PRINTF(0)("exp rotation function not implemented\n"); 414 411 } 415 412 … … 435 432 void Animation3D::rQuadratic(float timePassed) const 436 433 { 434 PRINTF(0)("quadratic rotation alg not implemented\n"); 437 435 } 438 436 … … 443 441 void Animation3D::rRandom(float timePassed) const 444 442 { 445 } 443 PRINTF(0)("random rotation alg not implemented\n"); 444 }
Note: See TracChangeset
for help on using the changeset viewer.