Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 26, 2005, 1:23:57 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: return value of quat-slerp was wrong

File:
1 edited

Legend:

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

    r3970 r3971  
    203203                          (timePassed/this->currentKeyFrame->duration));
    204204
    205   this->object->setRelDir( this->nextKeyFrame->direction.quatSlerp( this->nextKeyFrame->direction,
    206                                                                     this->currentKeyFrame->direction, timePassed /
    207                                                                     this->currentKeyFrame->duration) );
     205  this->object->setRelDir(quatSlerp( this->nextKeyFrame->direction,
     206                                     this->currentKeyFrame->direction,
     207                                     timePassed/this->currentKeyFrame->duration) );
    208208
    209209}
Note: See TracChangeset for help on using the changeset viewer.