palConvex Class Reference

#include <palBodies.h>

Inheritance diagram for palConvex:

palBody palConvexBase palBodyBase palBodyBase

List of all members.

Public Member Functions

virtual void Init (Float x, Float y, Float z, const Float *pVertices, int nVertices, Float mass)


Detailed Description

A convex body. This class represents a convex object at a given position, with a given set of points. TODO: picture

Member Function Documentation

void palConvex::Init ( Float  x,
Float  y,
Float  z,
const Float *  pVertices,
int  nVertices,
Float  mass 
) [virtual]

Initializes the convex body.

Parameters:
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


The documentation for this class was generated from the following files:

Generated on Mon Aug 31 13:58:02 2009 for pal by  doxygen 1.5.7.1