Changeset 4853 in orxonox.OLD for orxonox/trunk/src/lib/math
- Timestamp:
- Jul 13, 2005, 10:26:06 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/math/vector.h
r4851 r4853 259 259 /** \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*/ 260 260 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]; } 261 263 262 264 private:
Note: See TracChangeset
for help on using the changeset viewer.