com.bulletphysics.collision.shapes
Class ShapeHull
java.lang.Object
com.bulletphysics.collision.shapes.ShapeHull
public class ShapeHull
- extends Object
ShapeHull takes a ConvexShape
, builds the convex hull using HullLibrary
and provides triangle indices and vertices.
ShapeHull
public ShapeHull(ConvexShape shape)
buildHull
public boolean buildHull(float margin)
numTriangles
public int numTriangles()
numVertices
public int numVertices()
numIndices
public int numIndices()
getVertexPointer
public ObjectArrayList<Vector3f> getVertexPointer()
getIndexPointer
public IntArrayList getIndexPointer()