#include <palGeometry.h>

Public Member Functions | |
| virtual palMatrix4x4 & | GetLocationMatrix () |
| virtual const palMatrix4x4 & | GetOffsetMatrix () |
| virtual Float * | GenerateMesh_Vertices () |
| virtual int * | GenerateMesh_Indices () |
| palBodyBase * | GetBaseBody () |
Friends | |
| class | palBody |
| class | palBodyBase |
| class | palGenericBody |
The geometry includes the inertia properties, as well as a mass.
| int * palGeometry::GenerateMesh_Indices | ( | ) | [virtual] |
Generates a set of corresponding indicies to represent the approximation to the geometry.
Reimplemented in palSphereGeometry, palBoxGeometry, and palCapsuleGeometry.
| Float * palGeometry::GenerateMesh_Vertices | ( | ) | [virtual] |
Generates a set of vertices that represent an approximation to the geometry. This can be used for debug rendering, or generating the mesh for a convex object representation for some physics engines
Reimplemented in palSphereGeometry, palBoxGeometry, and palCapsuleGeometry.
| palBodyBase * palGeometry::GetBaseBody | ( | ) |
Returns the body the geometry is attached to, if valid.
| palMatrix4x4 & palGeometry::GetLocationMatrix | ( | ) | [virtual] |
Retrieves the position and orientation of the geometry as a 4x4 transformation matrix.
| const palMatrix4x4 & palGeometry::GetOffsetMatrix | ( | ) | [virtual] |
Retrieves the position and orientation of the geometry, relative to the attached body as a 4x4 transformation matrix.
1.5.7.1