Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5005 in orxonox.OLD for orxonox/trunk/src/lib/coord


Ignore:
Timestamp:
Aug 14, 2005, 1:26:49 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: quatSchlarp works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/coord/p_node.cc

    r5003 r5005  
    541541      if (unlikely(this->toDirection != NULL))
    542542      {
    543         Quaternion rotQuat = (*this->toDirection / this->relDirection);
     543        Quaternion rotQuat = Quaternion::quatSlerp(Quaternion(0, Vector(0,1,0)), (*this->toDirection / this->relDirection), dt*this->bias);
    544544//         printf("1: ");
    545545//         this->relDirection.debug();
Note: See TracChangeset for help on using the changeset viewer.