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

void TA::CollisionObjectConvex::InitialiseFromPlaneList (
const Vec3 *   pv3PlaneNormalList,
const Vec3 *   pv3PlanePointList,
int   nNumPlanes
 

Call this function to initialise the convex object using a list of planes. A convex hull is built from the list. The each plane if specified by a normal and a point.

Note:
If this function fails to build a convex hull from the planes, the object will be left empty. Also, if the hull is too complex it will be automatically simplified.
See also:
CollisionObjectConvex::Initialise(), CollisionObjectConvex::InitialiseAsABox(float fSizeX, float fSizeY, float fSizeZ), CollisionObjectConvex::InitialiseAsABox(const AABB& aabb), CollisionObjectConvex::InitialiseAsAnOrientedBox, CollisionObjectConvex::InitialiseFromPointList and CollisionObjectConvex::InitialiseFromConvexHull.
Parameters:
pv3PlaneNormalList
A pointer to a list of plane normals.
pv3PlanePointList
A pointer to a list of points. Each point is a point on a plane.
nNumPlanes
The number of planes.



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