Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3980 in orxonox.OLD for orxonox/trunk/src/util


Ignore:
Timestamp:
Apr 26, 2005, 2:48:43 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: started to implement the weapon change animation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/animation/animation3d.cc

    r3979 r3980  
    1515   2005-04-17: Benjamin Grauer
    1616          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
    1719*/
    1820
     
    220222                          (this->nextKeyFrame->position - this->currentKeyFrame->position) *
    221223                          (timePassed/this->currentKeyFrame->duration));
    222 
    223   this->object->setRelDir(quatSlerp( this->nextKeyFrame->direction,
    224                                      this->currentKeyFrame->direction,
    225                                      timePassed/this->currentKeyFrame->duration) );
    226 
    227224}
    228225
     
    411408void Animation3D::rExp(float timePassed) const
    412409{
    413 
     410  PRINTF(0)("exp rotation function not implemented\n");
    414411}
    415412
     
    435432void Animation3D::rQuadratic(float timePassed) const
    436433{
     434  PRINTF(0)("quadratic rotation alg not implemented\n");
    437435}
    438436
     
    443441void Animation3D::rRandom(float timePassed) const
    444442{
    445 }
     443  PRINTF(0)("random rotation alg not implemented\n");
     444}
Note: See TracChangeset for help on using the changeset viewer.