Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8731 in orxonox.OLD for trunk/src/lib/math/quaternion.h


Ignore:
Timestamp:
Jun 22, 2006, 4:28:18 PM (18 years ago)
Author:
bensch
Message:

new player

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/math/quaternion.h

    r8724 r8731  
    9898
    9999  float getHeading() const;
     100  Quaternion getHeadingQuat() const;
    100101  float getAttitude() const;
     102  Quaternion getAttitudeQuat() const;
    101103  float getBank() const;
     104  Quaternion getBankQuat() const;
    102105  /** @returns the rotational axis of this Quaternion */
    103106  inline Vector getSpacialAxis() const { return this->v / sin(acos(w));/*sqrt(v.x*v.x + v.y*v.y + v.z+v.z);*/ };
Note: See TracChangeset for help on using the changeset viewer.