#include "TA/Physics/CollisionObjectCachedPolyData.h"
Inheritance diagram for TA::CollisionObjectCachedPolyData:
The use of this class is necessary if overriding the function TA::CollisionObjectComplex::CachedLocalPolygons. The list of polygons that are intersecting with a collision region must be created using the function TA::CollisionObjectCachedPolyData::GetNewPolygon.
AddRef()
and Release()
can be called to increment and decrement the reference count. If the reference count is zero after a call to Release()
the object will be automatically deleted. Reference counted objects should only be created using new.
Public Member Functions | |
void | Initialise () |
void | Finalise () |
void | Clear () |
Polygon * | GetNewPolygon (int nNumVertices) |
Static Public Member Functions | |
static CollisionObjectCachedPolyData *TAC_CALL | CreateNew () |
Data Structures | |
class | Polygon |
A polygon belonging to a CollisionObjectCachedPolyData object. See TA::CollisionObjectCachedPolyData. More...
| |
class | Vertex |
A polygon vertex of a CollisionObjectCachedPolyData object. See TA::CollisionObjectCachedPolyData::Polygon. More...
|