summaryrefslogtreecommitdiffstats
path: root/make/glu-impl-common-CustomJavaCode.java
diff options
context:
space:
mode:
Diffstat (limited to 'make/glu-impl-common-CustomJavaCode.java')
-rw-r--r--make/glu-impl-common-CustomJavaCode.java70
1 files changed, 70 insertions, 0 deletions
diff --git a/make/glu-impl-common-CustomJavaCode.java b/make/glu-impl-common-CustomJavaCode.java
index 04505db55..3332bd375 100644
--- a/make/glu-impl-common-CustomJavaCode.java
+++ b/make/glu-impl-common-CustomJavaCode.java
@@ -5,7 +5,77 @@ public boolean isFunctionAvailable(String gluFunctionName)
}
private GLUProcAddressTable gluProcAddressTable;
+
public GLUImpl(GLUProcAddressTable gluProcAddressTable)
{
this.gluProcAddressTable = gluProcAddressTable;
}
+
+public GLUtesselator gluNewTess() {
+ return GLUtesselatorImpl.gluNewTess();
+}
+
+public void gluDeleteTess(GLUtesselator tesselator) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluDeleteTess();
+}
+
+public void gluTessProperty(GLUtesselator tesselator, int which, double value) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluTessProperty(which, value);
+}
+
+public void gluGetTessProperty(GLUtesselator tesselator, int which, double[] value) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluGetTessProperty(which, value);
+}
+
+public void gluTessNormal(GLUtesselator tesselator, double x, double y, double z) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluTessNormal(x, y, z);
+}
+
+public void gluTessCallback(GLUtesselator tesselator, int which, GLUtesselatorCallback aCallback) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluTessCallback(which, aCallback);
+}
+
+public void gluTessVertex(GLUtesselator tesselator, double[] coords, Object data) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluTessVertex(coords, data);
+}
+
+public void gluTessBeginPolygon(GLUtesselator tesselator, Object data) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluTessBeginPolygon(data);
+}
+
+public void gluTessBeginContour(GLUtesselator tesselator) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluTessBeginContour();
+}
+
+public void gluTessEndContour(GLUtesselator tesselator) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluTessEndContour();
+}
+
+public void gluTessEndPolygon(GLUtesselator tesselator) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluTessEndPolygon();
+}
+
+public void gluBeginPolygon(GLUtesselator tesselator) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluBeginPolygon();
+}
+
+public void gluNextContour(GLUtesselator tesselator, int type) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluNextContour(type);
+}
+
+public void gluEndPolygon(GLUtesselator tesselator) {
+ GLUtesselatorImpl tess = (GLUtesselatorImpl) tesselator;
+ tess.gluEndPolygon();
+}