Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Aug 13, 2005, 10:19:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: more reliable rotations

File:
1 edited

Legend:

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

    r5001 r5003  
    541541      if (unlikely(this->toDirection != NULL))
    542542      {
    543         Quaternion rotQuat = (*this->toDirection / this->relDirection)*dt;
     543        Quaternion rotQuat = (*this->toDirection / this->relDirection);
    544544//         printf("1: ");
    545545//         this->relDirection.debug();
    546546//         printf("2: ");
    547547//         this->toDirection->debug();
    548         //printf("3: ");
    549         //rotQuat.debug2();
     548        printf("3: ");
     549        rotQuat.debug2();
    550550
    551551        if (likely(rotQuat.getSpacialAxisAngle() >= .01))
Note: See TracChangeset for help on using the changeset viewer.