Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2005, 12:30:55 PM (18 years ago)
Author:
patrick
Message:

collision_detection: getting rid of the old vertices based structure

File:
1 edited

Legend:

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

    r5706 r5870  
    2323
    2424    inline const Vector& getCenter() const { return this->center; }
     25    inline const modelInfo* getModelInfo() const { return this->modelInf; }
    2526
    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     const sVec3D*       vertices;                   //!< if CD_STORE_VERTICES enabled, this is the place, where the vert. will be sotred
    37     int                 numOfVertices;              //!< number of vertices in the vertices buffer
    3836    const modelInfo*    modelInf;                   //!< Reference to the model's ModelInfo
    3937    const int*          triangleIndexes;            //!< Array with the triangle indexes in modelInfo
    40     unsigned int        numTriangles;               //!< Number of triangles in this BV
     38    int                 triangleIndexesLength;      //!< length of the indexes array
    4139};
    4240
Note: See TracChangeset for help on using the changeset viewer.