public class DebugMeshCallback
extends java.lang.Object
Constructor and Description |
---|
DebugMeshCallback() |
Modifier and Type | Method and Description |
---|---|
void |
addVector(float x,
float y,
float z,
int part,
int index)
Add a vertex to the mesh under construction.
|
java.nio.FloatBuffer |
getVertices() |
public void addVector(float x, float y, float z, int part, int index)
This method is invoked from native code.
x
- local X coordinate of new vertexy
- local Y coordinate of new vertexz
- local Z coordinate of new vertexpart
- ignoredindex
- ignoredpublic java.nio.FloatBuffer getVertices()