use new Tessellator for Mesh- and ExtrusionLayer
This commit is contained in:
73
vtm-web/src/org/oscim/gdx/emu/org/oscim/utils/TessJNI.java
Normal file
73
vtm-web/src/org/oscim/gdx/emu/org/oscim/utils/TessJNI.java
Normal file
@@ -0,0 +1,73 @@
|
||||
package org.oscim.utils;
|
||||
|
||||
public class TessJNI {
|
||||
|
||||
public TessJNI() {
|
||||
|
||||
}
|
||||
|
||||
public TessJNI(int size) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public void dispose() {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public void addContour2D(float[] points) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public void addContour2D(float[] points, int offset, int length) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public void addContour2D(int[] index, float[] contour) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public void addContour2D(int[] index, float[] contour, int idxStart, int idxEnd) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public boolean tesselate() {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public boolean tesselate(int windingRule, int elementType) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public int getVertexCount() {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public int getElementCount() {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public void getVertices(float[] out, int offset, int length) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public void getVertices(short[] out, int offset, int length, float scale) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public void getElements(int[] out, int offset, int length) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public void getElements(short[] out, int offset, int length) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public void getVertexIndices(int[] out, int offset, int length) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
public void getElementsWithInputVertexIds(short[] dst, int dstOffset, int offset, int length) {
|
||||
throw new RuntimeException("unimplemented");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -107,7 +107,7 @@ public class Tessellator {
|
||||
return numIndices;
|
||||
}
|
||||
|
||||
public static int tessellate(float[] points, int ppos, int plen, short[] index,
|
||||
public static int tessellate(float[] points, int ppos, int plen, int[] index,
|
||||
int ipos, int rings, int vertexOffset, VertexData outTris) {
|
||||
|
||||
Int32Array io;
|
||||
|
||||
Reference in New Issue
Block a user