|
| dxConvex (dSpaceID space, dReal *planes, unsigned int planecount, dReal *points, unsigned int pointcount, unsigned int *polygons) |
|
void | computeAABB () |
|
unsigned int | SupportIndex (dVector3 dir) |
| A Support mapping function for convex shapes. More...
|
|
| dxGeom (dSpaceID _space, int is_placeable) |
|
void | updateZeroSizedFlag (bool is_zero_sized) |
|
unsigned | getParentSpaceTLSKind () const |
|
void | computePosr () |
|
void | recomputePosr () |
|
bool | checkControlValueSizeValidity (void *dataValue, int *dataSize, int iRequiresSize) |
|
virtual bool | controlGeometry (int controlClass, int controlCode, void *dataValue, int *dataSize) |
|
virtual int | AABBTest (dxGeom *o, dReal aabb[6]) |
|
void | recomputeAABB () |
|
void | spaceAdd (dxGeom **first_ptr) |
|
void | spaceRemove () |
|
void | bodyAdd (dxBody *b) |
|
void | bodyRemove () |
|
void * | operator new (size_t size) |
|
void * | operator new (size_t, void *p) |
|
void | operator delete (void *ptr, size_t size) |
|
void * | operator new[] (size_t size) |
|
void | operator delete[] (void *ptr, size_t size) |
|
|
void | FillEdges () |
| Fills the edges dynamic array based on points and polygons. More...
|
|
void dxConvex::FillEdges |
( |
| ) |
|
|
private |
Fills the edges dynamic array based on points and polygons.
Populates the edges set, should be called only once whenever the polygon array gets updated.
References edgecount, and planecount.
unsigned int dxConvex::SupportIndex |
( |
dVector3 |
dir | ) |
|
|
inline |
A Support mapping function for convex shapes.
- Parameters
-
dir | [IN] direction to find the Support Point for |
- Returns
- the index of the support vertex.
References pointcount.
unsigned int dxConvex::edgecount |
unsigned int dxConvex::planecount |
An array of indices to the points of each polygon, it should be the number of vertices followed by that amount of indices to "points" in counter clockwise order Amount of planes in planes
Referenced by FillEdges().
An array of planes in the form: normal X, normal Y, normal Z,Distance
unsigned int dxConvex::pointcount |
The documentation for this struct was generated from the following files: