Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 21, 2005, 11:27:39 PM (18 years ago)
Author:
patrick
Message:

orxonox/trunk: the const collision detection war - strike

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/collision_detection/bounding_volume.h

    r5279 r5688  
    2424    inline const Vector* getCenter() const { return this->center; }
    2525
    26     sVec3D* getVertices() const { return this->vertices; }
     26    const sVec3D* getVertices() const { return this->vertices; }
    2727    virtual void mergeWith(const BoundingVolume &bv) = 0;
    2828
     
    3434    Vector*             center;                     //!< Center point of box
    3535
    36     sVec3D*             vertices;                   //!< if CD_STORE_VERTICES enabled, this is the place, where the vert. will be sotred
     36    const sVec3D*       vertices;                   //!< if CD_STORE_VERTICES enabled, this is the place, where the vert. will be sotred
    3737    int                 numOfVertices;              //!< number of vertices in the vertices buffer
    3838    bool                bOrigVertices;              //!< is true if the vertices pointer points to the original model data - only important for deleting
Note: See TracChangeset for help on using the changeset viewer.