Changeset 10176 in orxonox.OLD for branches/mount_points/src/lib/math
- Timestamp:
- Jan 3, 2007, 6:10:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/math/vector.h
r10174 r10176 47 47 /** @param v: the Vecor to compare with this one @returns true, if the Vecors are different, false otherwise */ 48 48 inline bool operator!= (const Vector& v) const { return (this->x!=v.x||this->y!=v.y||this->z!=v.z)?true:false; }; 49 inline bool operator> (const Vector& v) { return (this->len() > v.len()); }50 inline bool operator< (const Vector& v) { return (this->len() < v.len()); }49 inline bool operator> (const Vector& v) const { return (this->len() > v.len()); } 50 inline bool operator< (const Vector& v) const { return (this->len() < v.len()); } 51 51 52 52 /** @param index The index of the "array" @returns the x/y/z coordinate */
Note: See TracChangeset
for help on using the changeset viewer.