public static class GLUTessellatorSupport.CollectIndexListsCallback extends GLUtessellatorCallbackAdapter
Modifier and Type | Field and Description |
---|---|
protected List<Integer> |
currentPrim |
protected int |
currentType |
protected int |
numIndices |
protected List<List<Integer>> |
prims |
protected List<Integer> |
primTypes |
Constructor and Description |
---|
CollectIndexListsCallback() |
Modifier and Type | Method and Description |
---|---|
void |
begin(int type) |
void |
combine(double[] coords,
Object[] data,
float[] weight,
Object[] outData) |
void |
end() |
int |
getNumIndices() |
List<List<Integer>> |
getPrims() |
List<Integer> |
getPrimTypes() |
void |
vertex(Object vertexData) |
beginData, combineData, edgeFlag, edgeFlagData, endData, error, errorData, vertexData
public void begin(int type)
begin
in interface GLUtessellatorCallback
begin
in class GLUtessellatorCallbackAdapter
public void combine(double[] coords, Object[] data, float[] weight, Object[] outData)
combine
in interface GLUtessellatorCallback
combine
in class GLUtessellatorCallbackAdapter
public void end()
end
in interface GLUtessellatorCallback
end
in class GLUtessellatorCallbackAdapter
public int getNumIndices()
public void vertex(Object vertexData)
vertex
in interface GLUtessellatorCallback
vertex
in class GLUtessellatorCallbackAdapter