Changeset 5006 in orxonox.OLD for orxonox/trunk/src/lib/math
- Timestamp:
- Aug 14, 2005, 1:50:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/math/vector.h
r5001 r5006 136 136 this->w*q.v.y + this->v.y*q.w + this->v.z*q.v.x - this->v.x*q.v.z, 137 137 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); }; 140 139 /** @param q: the Quaternion to multiply by @returns the quaternion multiplied by q (this *= q) */ 141 140 inline const Quaternion& operator*= (const Quaternion& q) {*this = *this * q; return *this; };
Note: See TracChangeset
for help on using the changeset viewer.