Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7003 in orxonox.OLD for trunk/src/lib/math


Ignore:
Timestamp:
Feb 3, 2006, 2:55:14 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: fixed a nasty PNode bug …
@patrick: you were right about it being still debugged :)

Location:
trunk/src/lib/math
Files:
2 edited

Legend:

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

    r6616 r7003  
    227227 *  outputs some nice formated debug information about this quaternion
    228228*/
    229 void Quaternion::debug()
     229void Quaternion::debug() const
    230230{
    231231  PRINT(0)("real a=%f; imag: x=%f y=%f z=%f\n", w, v.x, v.y, v.z);
    232232}
    233233
    234 void Quaternion::debug2()
     234void Quaternion::debug2() const
    235235{
    236236  Vector axis = this->getSpacialAxis();
  • trunk/src/lib/math/quaternion.h

    r6627 r7003  
    103103  static Quaternion quatSlerp(const Quaternion& from, const Quaternion& to, float t);
    104104
    105   void debug();
    106   void debug2();
     105  void debug() const;
     106  void debug2() const;
    107107
    108108
Note: See TracChangeset for help on using the changeset viewer.