com.bulletphysics.collision.shapes
Class IndexedMesh
java.lang.Object
com.bulletphysics.collision.shapes.IndexedMesh
public class IndexedMesh
- extends Object
IndexedMesh indexes into existing vertex and index arrays, in a similar way to
OpenGL's glDrawElements. Instead of the number of indices, we pass the number
of triangles.
numTriangles
public int numTriangles
triangleIndexBase
public ByteBuffer triangleIndexBase
triangleIndexStride
public int triangleIndexStride
numVertices
public int numVertices
vertexBase
public ByteBuffer vertexBase
vertexStride
public int vertexStride
indexType
public ScalarType indexType
IndexedMesh
public IndexedMesh()