Changeset 7711 in orxonox.OLD for trunk/src/lib/collision_detection/obb.h
- Timestamp:
- May 18, 2006, 11:44:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/obb.h
r5039 r7711 21 21 22 22 23 inline Vector* getAxis () const { return this->axis; } 23 inline Vector getAxisX () const { return this->axis[0]; } 24 inline Vector getAxisY () const { return this->axis[1]; } 25 inline Vector getAxisZ () const { return this->axis[2]; } 26 24 27 inline const float* getHalfLength() const { return this->halfLength; } 25 28 … … 31 34 32 35 public: 33 Vector * axis;//!< Axes of oriented box [x,y,z]34 float * halfLength;//!< Half lengths of the box along the axis36 Vector axis[3]; //!< Axes of oriented box [x,y,z] 37 float halfLength[3]; //!< Half lengths of the box along the axis 35 38 float covarianceMatrix[3][3]; //!< the covariance matrix 36 39
Note: See TracChangeset
for help on using the changeset viewer.