Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4562 in orxonox.OLD for orxonox/trunk/src/lib/math


Ignore:
Timestamp:
Jun 9, 2005, 12:37:13 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: collision detection framework now works again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/math/vector.h

    r4545 r4562  
    2828
    2929  /** \param index The index of the "array" \returns the x/y/z coordinate */
    30   inline float operator[] (float index) const {if( index == 0) return this->x; if( index == 1) return this->y; if( index == 2) return this->z;}
     30  inline float operator[] (float index) const {if( index == 0) return this->x; if( index == 1) return this->y; if( index == 2) return this->z; }
    3131  /**  \param v The vector to add \returns the addition between two vectors (this + v) */
    3232  inline Vector operator+ (const Vector& v) const { return Vector(x + v.x, y + v.y, z + v.z); };
Note: See TracChangeset for help on using the changeset viewer.