Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 14, 2007, 5:33:43 PM (17 years ago)
Author:
snellen
Message:

merged adm, hud, vs-enhancements : beni's responsible for this commit. blame him!

File:
1 edited

Legend:

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

    r10695 r10698  
    5050
    5151    /** @param q: the Quaternion to compare with this one. @returns true if the Quaternions are the same, false otherwise */
    52   inline bool operator== (const Quaternion& q) const { return (unlikely(this->v==q.v&&this->w==q.w))?true:false; };
     52    inline bool operator== (const Quaternion& q) const { return (unlikely(this->v==q.v&&this->w==q.w))?true:false; };
    5353    /** @param q: the Quaternion to compare with this one. @returns true if the Quaternions are the same, false otherwise */
    54   inline bool operator!= (const Quaternion& q) const { return (unlikely(this->v!=q.v||this->w!=q.w))?true:false; };
     54    inline bool operator!= (const Quaternion& q) const { return (unlikely(this->v!=q.v||this->w!=q.w))?true:false; };
    5555    /** @param f: a real value @return a Quaternion containing the quotient */
    5656    inline Quaternion operator/ (const float& f) const { return (unlikely(f==0.0)) ? Quaternion() : Quaternion(this->v/f, this->w/f); };
     
    118118
    119119
    120     inline void slerpTo(const Quaternion& toQuat, float t);
     120    void slerpTo(const Quaternion& toQuat, float t);
    121121    static Quaternion quatSlerp(const Quaternion& from, const Quaternion& to, float t);
    122122
Note: See TracChangeset for help on using the changeset viewer.