Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2005, 2:18:01 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: calculating box dimensions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/collision_detection/obb.h

    r4560 r4576  
    1 /*! 
     1/*!
    22    \file obb.h
    33    \brief Definition of an OBB (object Oriented Bounding Box)
     
    2121
    2222
    23   inline const Vector* getAxis () const { return this->axis; }
    24   inline const float* getHalfLength() const { return this->halfLength; } 
     23  inline Vector** getAxis () const { return this->axis; }
     24  inline const float* getHalfLength() const { return this->halfLength; }
    2525
    2626  virtual sVect3D* getVertices() const { return this->vertices; }
     
    3333
    3434 public:
    35   Vector*          axis;                       //!< Axes of oriented box [x,y,z]
     35  Vector**         axis;                       //!< Axes of oriented box [x,y,z]
    3636  float*           halfLength;                 //!< Half lengths of the box along the axis
    3737  float            covarianceMatrix[3][3];     //!< the covariance matrix
Note: See TracChangeset for help on using the changeset viewer.