NewtonIslandGetBodyAABB
NewtonIslandGetBodyAABB
void NewtonIslandGetBodyAABB (const void* island, int bodyIndex, const dFloat* p0, const dFloat* p1);
Usage
Returns the loose AABB of the body at the specified position in the list of bodies of a collision island.
Parameters
- const void* island - pointer to the collision island.
- int bodyIndex - the index of the body in the list of bodies of the collision island.
- const dFloat* p0 - pointer to an array of floats which will hold the coordinates of the first extremity of the AABB.
- const dFloat* p1 - pointer to an array of floats which will hold the coordinates of the second extremity of the AABB.
Return
- Nothing.
Description
Returns the loose AABB of the body at the specified position in the list of bodies of a collision island.
This loose AABB is used internally by Newton for maintaining the extents of the collision island.
Remarks
- Added in Newton 2.0
- The memory areas pointed by p0 and p1 shall have enough room for storing the coordinates