Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4853 in orxonox.OLD for orxonox/trunk/src/lib/math/vector.h


Ignore:
Timestamp:
Jul 13, 2005, 10:26:06 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: progressing in quadtree separation process: list is done now the elements need to be filled into an array

File:
1 edited

Legend:

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

    r4851 r4853  
    259259   /** \brief sets both axis of the rectangle to a defined vector @param v1 the length of the x axis @param v2 the length of the z axis*/
    260260   inline void setAxis(float v1, float v2) { this->axis[0] = v1; this->axis[1] = v2; }
     261   /** \brief gets one axis length of the rectangle  @returns the length of the axis 0 */
     262   inline float getAxis() { return this-> axis[0]; }
    261263
    262264  private:
Note: See TracChangeset for help on using the changeset viewer.