Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 26, 2006, 4:46:25 PM (18 years ago)
Author:
patrick
Message:

merged the network branche back to trunk

File:
1 edited

Legend:

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

    r8731 r8802  
    5050  /** @param q: the Quaternion to compare with this one. @returns true if the Quaternions are the same, false otherwise */
    5151  inline bool operator== (const Quaternion& q) const { return (unlikely(this->v==q.v&&this->w==q.w))?true:false; };
     52  /** @param q: the Quaternion to compare with this one. @returns true if the Quaternions are the same, false otherwise */
     53  inline bool operator!= (const Quaternion& q) const { return (unlikely(this->v!=q.v&&this->w!=q.w))?true:false; };
    5254  /** @param f: a real value @return a Quaternion containing the quotient */
    5355  inline Quaternion operator/ (const float& f) const { return (unlikely(f==0.0)) ? Quaternion() : Quaternion(this->v/f, this->w/f); };
Note: See TracChangeset for help on using the changeset viewer.