True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

void TA::CollisionObjectAABBMesh::Initialise (
int   nNumVertices,
int   nNumPolygons,
int   nNumPolygonIndices
 

Call this function to initialise an TA::CollisionObjectAABBMesh. Use the functions TA::CollisionObjectAABBMesh::AddVertex and TA::CollisionObjectAABBMesh::AddPolygon to initialise the data. Call the function TA::CollisionObjectAABBMesh::FinishedAddingGeometry when done.

Parameters:
nNumVertices
Number of vertices to be added.
nNumPolygons
Number of polygons to be added.
nNumPolygonIndices
The accumulation of the vertex count in each polygon.
Examples:
SimplePhysicsSimulationExample.cpp.



© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.