Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

orxonox/trunk: quatlerping works very good.
some speed-issues, exactity, etc…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/math/vector.h

    r5001 r5006  
    136136                                                                         this->w*q.v.y + this->v.y*q.w + this->v.z*q.v.x - this->v.x*q.v.z,
    137137                                                                         this->w*q.v.z + this->v.z*q.w + this->v.x*q.v.y - this->v.y*q.v.x),
    138                                                                          this->w*q.w - this->v.x*q.v.x - this->v.y*q.v.y - this->v.z*q.v.z);
    139   };
     138                                                                         this->w*q.w - this->v.x*q.v.x - this->v.y*q.v.y - this->v.z*q.v.z); };
    140139  /** @param q: the Quaternion to multiply by @returns the quaternion multiplied by q (this *= q) */
    141140  inline const Quaternion& operator*= (const Quaternion& q) {*this = *this * q; return *this; };
Note: See TracChangeset for help on using the changeset viewer.