#include <palBodies.h>
Public Member Functions | |
virtual void | Init (Float x, Float y, Float z, const Float *pVertices, int nVertices, Float mass) |
void palConvex::Init | ( | Float | x, | |
Float | y, | |||
Float | z, | |||
const Float * | pVertices, | |||
int | nVertices, | |||
Float | mass | |||
) | [virtual] |
Initializes the convex body.
x | The position (x) | |
y | The position (y) | |
z | The position (z) | |
pVertices | The vertices describing the shape | |
nVertices | The number of vertices (ie: the total number of Floats / 3) | |
mass | The objects's mass |