Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7876 in orxonox.OLD for branches/gui/src/lib/math


Ignore:
Timestamp:
May 26, 2006, 10:50:45 PM (19 years ago)
Author:
bensch
Message:

fancy mouse-cursor :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/math/vector2D.h

    r6616 r7876  
    4040
    4141  /** @param v: the Vecor to compare with this one @returns true, if the Vecors are the same, false otherwise */
    42   inline bool operator== (const Vector2D& v) const { return (this->x==v.x && this->y==v.y)?true:false; };
     42  inline bool operator== (const Vector2D& v) const { return (this->x==v.x && this->y==v.y); };
     43  /** @param v: the Vector to negative-compare with this one @returns true if the two vectors are different */
     44  inline bool operator!= (const Vector2D& v) const { return (this->x!=v.x && this->y!=v.y); };
    4345  /** @param index The index of the "array" @returns the x/y coordinate */
    4446  inline float operator[] (float index) const { return ( index == 0)? this->x : this->y; }
Note: See TracChangeset for help on using the changeset viewer.