com.bulletphysics.collision.shapes
Class VertexData
java.lang.Object
com.bulletphysics.collision.shapes.VertexData
- Direct Known Subclasses:
- ByteBufferVertexData
public abstract class VertexData
- extends Object
Allows accessing vertex data.
VertexData
public VertexData()
getVertexCount
public abstract int getVertexCount()
getIndexCount
public abstract int getIndexCount()
getVertex
public abstract <T extends Tuple3f> T getVertex(int idx,
T out)
setVertex
public abstract void setVertex(int idx,
float x,
float y,
float z)
setVertex
public void setVertex(int idx,
Tuple3f t)
getIndex
public abstract int getIndex(int idx)
getTriangle
public void getTriangle(int firstIndex,
Vector3f scale,
Vector3f[] triangle)