aboutsummaryrefslogtreecommitdiffstats
path: root/gl4java/GLUFuncJauJNI.java
diff options
context:
space:
mode:
Diffstat (limited to 'gl4java/GLUFuncJauJNI.java')
-rw-r--r--gl4java/GLUFuncJauJNI.java1028
1 files changed, 736 insertions, 292 deletions
diff --git a/gl4java/GLUFuncJauJNI.java b/gl4java/GLUFuncJauJNI.java
index 1b37aa0..fcf7900 100644
--- a/gl4java/GLUFuncJauJNI.java
+++ b/gl4java/GLUFuncJauJNI.java
@@ -32,7 +32,7 @@ public final String getClassVendor ( )
{ return "Jausoft - Sven Goethel Software Development"; }
public final String getClassVersion ( )
-{ return "2.8.0.4"; }
+{ return "2.8.0.8"; }
/**
@@ -79,6 +79,11 @@ public final native void gluNurbsCallback(
/**
+extern void gluNurbsCallbackData (GLUnurbs* nurb, GLvoid* userData);
+extern void gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData);
+**/
+
+/**
* The Callback registry function.
* To achieve the signature (internal argument signature)
* you can use the "javap -s <classname>" toolkit of the JDK !
@@ -181,11 +186,6 @@ public final int gluProject(double objx,
double y[] = { 0 };
double z[] = { 0 };
- if(win!=null && win.length>=3)
- {
- x[0]=win[0]; y[0]=win[1]; z[0]=win[2];
- }
-
int r = gluProject(objx, objy, objz, modelMatrix, projMatrix,
viewport, x, y, z);
@@ -236,11 +236,6 @@ public final int gluUnProject(double winx,
double y[] = { 0 };
double z[] = { 0 };
- if(obj!=null && obj.length>=3)
- {
- x[0]=obj[0]; y[0]=obj[1]; z[0]=obj[2];
- }
-
int r = gluUnProject(winx, winy, winz, modelMatrix, projMatrix,
viewport, x, y, z);
@@ -253,7 +248,7 @@ public final int gluUnProject(double winx,
}
/**
- * C2J Parser Version 2.2
+ * C2J Parser Version 3.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -262,124 +257,136 @@ public final int gluUnProject(double winx,
/**
* Original Function-Prototype :
* <pre>
- extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
+ extern void gluBeginCurve ( GLUnurbs * nurb ) ;
* </pre>
*/
- public final native void gluLookAt (
- double eyex,
- double eyey,
- double eyez,
- double centerx,
- double centery,
- double centerz,
- double upx,
- double upy,
- double upz
+ public final native void gluBeginCurve (
+ long nurb
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
+ extern void gluBeginPolygon ( GLUtesselator * tess ) ;
* </pre>
*/
- public final native void gluOrtho2D (
- double left,
- double right,
- double bottom,
- double top
+ public final native void gluBeginPolygon (
+ long tess
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
+ extern void gluBeginSurface ( GLUnurbs * nurb ) ;
* </pre>
*/
- public final native void gluPerspective (
- double fovy,
- double aspect,
- double zNear,
- double zFar
+ public final native void gluBeginSurface (
+ long nurb
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
+ extern void gluBeginTrim ( GLUnurbs * nurb ) ;
* </pre>
*/
- public final native void gluPickMatrix (
- double x,
- double y,
- double width,
- double height,
- int[] viewport
+ public final native void gluBeginTrim (
+ long nurb
) ;
/**
* Original Function-Prototype :
* <pre>
- extern GLint gluProject ( GLdouble objx , GLdouble objy , GLdouble objz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * winx , GLdouble * winy , GLdouble * winz ) ;
+ extern GLint gluBuild1DMipmapLevels ( GLenum target , GLint internalFormat , GLsizei width , GLenum format , GLenum type , GLint level , GLint base , GLint max , const void * data ) ;
* </pre>
*/
- public final native int gluProject (
- double objx,
- double objy,
- double objz,
- double[] modelMatrix,
- double[] projMatrix,
- int[] viewport,
- double[] winx,
- double[] winy,
- double[] winz
+ public final native int gluBuild1DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ byte[] data
) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluUnProject ( GLdouble winx , GLdouble winy , GLdouble winz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * objx , GLdouble * objy , GLdouble * objz ) ;
- * </pre>
- */
- public final native int gluUnProject (
- double winx,
- double winy,
- double winz,
- double[] modelMatrix,
- double[] projMatrix,
- int[] viewport,
- double[] objx,
- double[] objy,
- double[] objz
+ public final native int gluBuild1DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ short[] data
) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const GLbyte * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , GLbyte * dataout ) ;
- * </pre>
- */
- public final native int gluScaleImage (
+ public final native int gluBuild1DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
int format,
- int widthin,
- int heightin,
- int typein,
- byte[] datain,
- int widthout,
- int heightout,
- int typeout,
- byte[] dataout
+ int type,
+ int level,
+ int base,
+ int max,
+ int[] data
+ ) ;
+ public final native int gluBuild1DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ float[] data
+ ) ;
+ public final native int gluBuild1DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ double[] data
+ ) ;
+ public final native int gluBuild1DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ boolean[] data
+ ) ;
+ public final native int gluBuild1DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ long[] data
) ;
/**
* Original Function-Prototype :
* <pre>
- extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
+ extern GLint gluBuild1DMipmaps ( GLenum target , GLint internalFormat , GLsizei width , GLenum format , GLenum type , const void * data ) ;
* </pre>
*/
public final native int gluBuild1DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int format,
int type,
@@ -387,7 +394,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild1DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int format,
int type,
@@ -395,7 +402,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild1DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int format,
int type,
@@ -403,7 +410,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild1DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int format,
int type,
@@ -411,7 +418,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild1DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int format,
int type,
@@ -419,7 +426,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild1DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int format,
int type,
@@ -427,7 +434,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild1DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int format,
int type,
@@ -437,12 +444,103 @@ public final int gluUnProject(double winx,
/**
* Original Function-Prototype :
* <pre>
- extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
+ extern GLint gluBuild2DMipmapLevels ( GLenum target , GLint internalFormat , GLsizei width , GLsizei height , GLenum format , GLenum type , GLint level , GLint base , GLint max , const void * data ) ;
+ * </pre>
+ */
+ public final native int gluBuild2DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ byte[] data
+ ) ;
+ public final native int gluBuild2DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ short[] data
+ ) ;
+ public final native int gluBuild2DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ int[] data
+ ) ;
+ public final native int gluBuild2DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ float[] data
+ ) ;
+ public final native int gluBuild2DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ double[] data
+ ) ;
+ public final native int gluBuild2DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ boolean[] data
+ ) ;
+ public final native int gluBuild2DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ long[] data
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluBuild2DMipmaps ( GLenum target , GLint internalFormat , GLsizei width , GLsizei height , GLenum format , GLenum type , const void * data ) ;
* </pre>
*/
public final native int gluBuild2DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int height,
int format,
@@ -451,7 +549,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild2DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int height,
int format,
@@ -460,7 +558,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild2DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int height,
int format,
@@ -469,7 +567,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild2DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int height,
int format,
@@ -478,7 +576,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild2DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int height,
int format,
@@ -487,7 +585,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild2DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int height,
int format,
@@ -496,7 +594,7 @@ public final int gluUnProject(double winx,
) ;
public final native int gluBuild2DMipmaps (
int target,
- int components,
+ int internalFormat,
int width,
int height,
int format,
@@ -507,174 +605,336 @@ public final int gluUnProject(double winx,
/**
* Original Function-Prototype :
* <pre>
- extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
+ extern GLint gluBuild3DMipmapLevels ( GLenum target , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , GLint level , GLint base , GLint max , const void * data ) ;
* </pre>
*/
- public final native void gluQuadricDrawStyle (
- long quadObject,
- int drawStyle
+ public final native int gluBuild3DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ byte[] data
+ ) ;
+ public final native int gluBuild3DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ short[] data
+ ) ;
+ public final native int gluBuild3DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ int[] data
+ ) ;
+ public final native int gluBuild3DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ float[] data
+ ) ;
+ public final native int gluBuild3DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ double[] data
+ ) ;
+ public final native int gluBuild3DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ boolean[] data
+ ) ;
+ public final native int gluBuild3DMipmapLevels (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ int level,
+ int base,
+ int max,
+ long[] data
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
+ extern GLint gluBuild3DMipmaps ( GLenum target , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const void * data ) ;
* </pre>
*/
- public final native void gluQuadricOrientation (
- long quadObject,
- int orientation
+ public final native int gluBuild3DMipmaps (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ byte[] data
+ ) ;
+ public final native int gluBuild3DMipmaps (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ short[] data
+ ) ;
+ public final native int gluBuild3DMipmaps (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ int[] data
+ ) ;
+ public final native int gluBuild3DMipmaps (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ float[] data
+ ) ;
+ public final native int gluBuild3DMipmaps (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ double[] data
+ ) ;
+ public final native int gluBuild3DMipmaps (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ boolean[] data
+ ) ;
+ public final native int gluBuild3DMipmaps (
+ int target,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ long[] data
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
+ extern GLboolean gluCheckExtension ( const GLubyte * extName , const GLubyte * extString ) ;
* </pre>
*/
- public final native void gluQuadricNormals (
- long quadObject,
- int normals
+ public final native boolean gluCheckExtension (
+ byte[] extName,
+ byte[] extString
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
+ extern void gluCylinder ( GLUquadric * quad , GLdouble base , GLdouble top , GLdouble height , GLint slices , GLint stacks ) ;
* </pre>
*/
- public final native void gluQuadricTexture (
- long quadObject,
- boolean textureCoords
+ public final native void gluCylinder (
+ long quad,
+ double base,
+ double top,
+ double height,
+ int slices,
+ int stacks
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
+ extern void gluDisk ( GLUquadric * quad , GLdouble inner , GLdouble outer , GLint slices , GLint loops ) ;
* </pre>
*/
- public final native void gluCylinder (
- long qobj,
- double baseRadius,
- double topRadius,
- double height,
+ public final native void gluDisk (
+ long quad,
+ double inner,
+ double outer,
int slices,
- int stacks
+ int loops
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
+ extern void gluEndCurve ( GLUnurbs * nurb ) ;
* </pre>
*/
- public final native void gluSphere (
- long qobj,
- double radius,
- int slices,
- int stacks
+ public final native void gluEndCurve (
+ long nurb
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
+ extern void gluEndPolygon ( GLUtesselator * tess ) ;
* </pre>
*/
- public final native void gluDisk (
- long qobj,
- double innerRadius,
- double outerRadius,
- int slices,
- int loops
+ public final native void gluEndPolygon (
+ long tess
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
+ extern void gluEndSurface ( GLUnurbs * nurb ) ;
* </pre>
*/
- public final native void gluPartialDisk (
- long qobj,
- double innerRadius,
- double outerRadius,
- int slices,
- int loops,
- double startAngle,
- double sweepAngle
+ public final native void gluEndSurface (
+ long nurb
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
+ extern void gluEndTrim ( GLUnurbs * nurb ) ;
* </pre>
*/
- public final native void gluLoadSamplingMatrices (
- long nobj,
- float[] modelMatrix,
- float[] projMatrix,
- int[] viewport
+ public final native void gluEndTrim (
+ long nurb
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
+ extern void gluGetNurbsProperty ( GLUnurbs * nurb , GLenum property , GLfloat * data ) ;
* </pre>
*/
- public final native void gluNurbsProperty (
- long nobj,
+ public final native void gluGetNurbsProperty (
+ long nurb,
int property,
- float value
+ float[] data
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
+ extern void gluGetTessProperty ( GLUtesselator * tess , GLenum which , GLdouble * data ) ;
* </pre>
*/
- public final native void gluGetNurbsProperty (
- long nobj,
- int property,
- float[] value
+ public final native void gluGetTessProperty (
+ long tess,
+ int which,
+ double[] data
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
+ extern void gluLoadSamplingMatrices ( GLUnurbs * nurb , const GLfloat * model , const GLfloat * perspective , const GLint * view ) ;
* </pre>
*/
- public final native void gluBeginCurve (
- long nobj
+ public final native void gluLoadSamplingMatrices (
+ long nurb,
+ float[] model,
+ float[] perspective,
+ int[] view
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
+ extern void gluLookAt ( GLdouble eyeX , GLdouble eyeY , GLdouble eyeZ , GLdouble centerX , GLdouble centerY , GLdouble centerZ , GLdouble upX , GLdouble upY , GLdouble upZ ) ;
* </pre>
*/
- public final native void gluEndCurve (
- long nobj
+ public final native void gluLookAt (
+ double eyeX,
+ double eyeY,
+ double eyeZ,
+ double centerX,
+ double centerY,
+ double centerZ,
+ double upX,
+ double upY,
+ double upZ
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNextContour ( GLUtesselator * tess , GLenum type ) ;
+ * </pre>
+ */
+ public final native void gluNextContour (
+ long tess,
+ int type
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
+ extern void gluNurbsCurve ( GLUnurbs * nurb , GLint knotCount , GLfloat * knots , GLint stride , GLfloat * control , GLint order , GLenum type ) ;
* </pre>
*/
public final native void gluNurbsCurve (
- long nobj,
- int nknots,
- float[] knot,
+ long nurb,
+ int knotCount,
+ float[] knots,
int stride,
- float[] ctlarray,
+ float[] control,
int order,
int type
) ;
@@ -682,73 +942,119 @@ public final int gluUnProject(double winx,
/**
* Original Function-Prototype :
* <pre>
- extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
+ extern void gluNurbsProperty ( GLUnurbs * nurb , GLenum property , GLfloat value ) ;
* </pre>
*/
- public final native void gluBeginSurface (
- long nobj
+ public final native void gluNurbsProperty (
+ long nurb,
+ int property,
+ float value
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
+ extern void gluNurbsSurface ( GLUnurbs * nurb , GLint sKnotCount , GLfloat * sKnots , GLint tKnotCount , GLfloat * tKnots , GLint sStride , GLint tStride , GLfloat * control , GLint sOrder , GLint tOrder , GLenum type ) ;
* </pre>
*/
- public final native void gluEndSurface (
- long nobj
+ public final native void gluNurbsSurface (
+ long nurb,
+ int sKnotCount,
+ float[] sKnots,
+ int tKnotCount,
+ float[] tKnots,
+ int sStride,
+ int tStride,
+ float[] control,
+ int sOrder,
+ int tOrder,
+ int type
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluNurbsSurface ( GLUnurbsObj * nobj , GLint sknot_count , GLfloat * sknot , GLint tknot_count , GLfloat * tknot , GLint s_stride , GLint t_stride , GLfloat * ctlarray , GLint sorder , GLint torder , GLenum type ) ;
+ extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
* </pre>
*/
- public final native void gluNurbsSurface (
- long nobj,
- int sknot_count,
- float[] sknot,
- int tknot_count,
- float[] tknot,
- int s_stride,
- int t_stride,
- float[] ctlarray,
- int sorder,
- int torder,
- int type
+ public final native void gluOrtho2D (
+ double left,
+ double right,
+ double bottom,
+ double top
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
+ extern void gluPartialDisk ( GLUquadric * quad , GLdouble inner , GLdouble outer , GLint slices , GLint loops , GLdouble start , GLdouble sweep ) ;
* </pre>
*/
- public final native void gluBeginTrim (
- long nobj
+ public final native void gluPartialDisk (
+ long quad,
+ double inner,
+ double outer,
+ int slices,
+ int loops,
+ double start,
+ double sweep
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
+ extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
* </pre>
*/
- public final native void gluEndTrim (
- long nobj
+ public final native void gluPerspective (
+ double fovy,
+ double aspect,
+ double zNear,
+ double zFar
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
+ extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble delX , GLdouble delY , GLint * viewport ) ;
+ * </pre>
+ */
+ public final native void gluPickMatrix (
+ double x,
+ double y,
+ double delX,
+ double delY,
+ int[] viewport
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluProject ( GLdouble objX , GLdouble objY , GLdouble objZ , const GLdouble * model , const GLdouble * proj , const GLint * view , GLdouble * winX , GLdouble * winY , GLdouble * winZ ) ;
+ * </pre>
+ */
+ public final native int gluProject (
+ double objX,
+ double objY,
+ double objZ,
+ double[] model,
+ double[] proj,
+ int[] view,
+ double[] winX,
+ double[] winY,
+ double[] winZ
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPwlCurve ( GLUnurbs * nurb , GLint count , GLfloat * data , GLint stride , GLenum type ) ;
* </pre>
*/
public final native void gluPwlCurve (
- long nobj,
+ long nurb,
int count,
- float[] array,
+ float[] data,
int stride,
int type
) ;
@@ -756,179 +1062,317 @@ public final int gluUnProject(double winx,
/**
* Original Function-Prototype :
* <pre>
- extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
+ extern void gluQuadricDrawStyle ( GLUquadric * quad , GLenum draw ) ;
* </pre>
*/
- public final native void gluTessBeginPolygon (
- long tobj,
- byte[] polygon_data
- ) ;
- public final native void gluTessBeginPolygon (
- long tobj,
- short[] polygon_data
- ) ;
- public final native void gluTessBeginPolygon (
- long tobj,
- int[] polygon_data
- ) ;
- public final native void gluTessBeginPolygon (
- long tobj,
- float[] polygon_data
- ) ;
- public final native void gluTessBeginPolygon (
- long tobj,
- double[] polygon_data
+ public final native void gluQuadricDrawStyle (
+ long quad,
+ int draw
) ;
- public final native void gluTessBeginPolygon (
- long tobj,
- boolean[] polygon_data
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricNormals ( GLUquadric * quad , GLenum normal ) ;
+ * </pre>
+ */
+ public final native void gluQuadricNormals (
+ long quad,
+ int normal
) ;
- public final native void gluTessBeginPolygon (
- long tobj,
- long[] polygon_data
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricOrientation ( GLUquadric * quad , GLenum orientation ) ;
+ * </pre>
+ */
+ public final native void gluQuadricOrientation (
+ long quad,
+ int orientation
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
+ extern void gluQuadricTexture ( GLUquadric * quad , GLboolean texture ) ;
* </pre>
*/
- public final native void gluTessBeginContour (
- long tobj
+ public final native void gluQuadricTexture (
+ long quad,
+ boolean texture
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
+ extern GLint gluScaleImage ( GLenum format , GLsizei wIn , GLsizei hIn , GLenum typeIn , const void * dataIn , GLsizei wOut , GLsizei hOut , GLenum typeOut , GLvoid * dataOut ) ;
* </pre>
*/
- public final native void gluTessVertex (
- long tobj,
- double[] coords,
- byte[] vertex_data
+ public final native int gluScaleImage (
+ int format,
+ int wIn,
+ int hIn,
+ int typeIn,
+ byte[] dataIn,
+ int wOut,
+ int hOut,
+ int typeOut,
+ byte[] dataOut
) ;
- public final native void gluTessVertex (
- long tobj,
- double[] coords,
- short[] vertex_data
+ public final native int gluScaleImage (
+ int format,
+ int wIn,
+ int hIn,
+ int typeIn,
+ short[] dataIn,
+ int wOut,
+ int hOut,
+ int typeOut,
+ short[] dataOut
) ;
- public final native void gluTessVertex (
- long tobj,
- double[] coords,
- int[] vertex_data
+ public final native int gluScaleImage (
+ int format,
+ int wIn,
+ int hIn,
+ int typeIn,
+ int[] dataIn,
+ int wOut,
+ int hOut,
+ int typeOut,
+ int[] dataOut
) ;
- public final native void gluTessVertex (
- long tobj,
- double[] coords,
- float[] vertex_data
+ public final native int gluScaleImage (
+ int format,
+ int wIn,
+ int hIn,
+ int typeIn,
+ float[] dataIn,
+ int wOut,
+ int hOut,
+ int typeOut,
+ float[] dataOut
) ;
- public final native void gluTessVertex (
- long tobj,
- double[] coords,
- double[] vertex_data
+ public final native int gluScaleImage (
+ int format,
+ int wIn,
+ int hIn,
+ int typeIn,
+ double[] dataIn,
+ int wOut,
+ int hOut,
+ int typeOut,
+ double[] dataOut
) ;
- public final native void gluTessVertex (
- long tobj,
- double[] coords,
- boolean[] vertex_data
+ public final native int gluScaleImage (
+ int format,
+ int wIn,
+ int hIn,
+ int typeIn,
+ boolean[] dataIn,
+ int wOut,
+ int hOut,
+ int typeOut,
+ boolean[] dataOut
) ;
- public final native void gluTessVertex (
- long tobj,
- double[] coords,
- long[] vertex_data
+ public final native int gluScaleImage (
+ int format,
+ int wIn,
+ int hIn,
+ int typeIn,
+ long[] dataIn,
+ int wOut,
+ int hOut,
+ int typeOut,
+ long[] dataOut
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluTessEndContour ( GLUtesselator * tobj ) ;
+ extern void gluSphere ( GLUquadric * quad , GLdouble radius , GLint slices , GLint stacks ) ;
* </pre>
*/
- public final native void gluTessEndContour (
- long tobj
+ public final native void gluSphere (
+ long quad,
+ double radius,
+ int slices,
+ int stacks
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
+ extern void gluTessBeginContour ( GLUtesselator * tess ) ;
* </pre>
*/
- public final native void gluTessEndPolygon (
- long tobj
+ public final native void gluTessBeginContour (
+ long tess
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
+ extern void gluTessBeginPolygon ( GLUtesselator * tess , GLvoid * data ) ;
* </pre>
*/
- public final native void gluTessProperty (
- long tobj,
- int which,
- double value
+ public final native void gluTessBeginPolygon (
+ long tess,
+ byte[] data
+ ) ;
+ public final native void gluTessBeginPolygon (
+ long tess,
+ short[] data
+ ) ;
+ public final native void gluTessBeginPolygon (
+ long tess,
+ int[] data
+ ) ;
+ public final native void gluTessBeginPolygon (
+ long tess,
+ float[] data
+ ) ;
+ public final native void gluTessBeginPolygon (
+ long tess,
+ double[] data
+ ) ;
+ public final native void gluTessBeginPolygon (
+ long tess,
+ boolean[] data
+ ) ;
+ public final native void gluTessBeginPolygon (
+ long tess,
+ long[] data
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
+ extern void gluTessEndContour ( GLUtesselator * tess ) ;
* </pre>
*/
- public final native void gluTessNormal (
- long tobj,
- double x,
- double y,
- double z
+ public final native void gluTessEndContour (
+ long tess
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
+ extern void gluTessEndPolygon ( GLUtesselator * tess ) ;
* </pre>
*/
- public final native void gluGetTessProperty (
- long tobj,
- int which,
- double[] value
+ public final native void gluTessEndPolygon (
+ long tess
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
+ extern void gluTessNormal ( GLUtesselator * tess , GLdouble valueX , GLdouble valueY , GLdouble valueZ ) ;
* </pre>
*/
- public final native void gluBeginPolygon (
- long tobj
+ public final native void gluTessNormal (
+ long tess,
+ double valueX,
+ double valueY,
+ double valueZ
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
+ extern void gluTessProperty ( GLUtesselator * tess , GLenum which , GLdouble data ) ;
* </pre>
*/
- public final native void gluNextContour (
- long tobj,
- int type
+ public final native void gluTessProperty (
+ long tess,
+ int which,
+ double data
) ;
/**
* Original Function-Prototype :
* <pre>
- extern void gluEndPolygon ( GLUtesselator * tobj ) ;
+ extern void gluTessVertex ( GLUtesselator * tess , GLdouble * location , GLvoid * data ) ;
* </pre>
*/
- public final native void gluEndPolygon (
- long tobj
+ public final native void gluTessVertex (
+ long tess,
+ double[] location,
+ byte[] data
+ ) ;
+ public final native void gluTessVertex (
+ long tess,
+ double[] location,
+ short[] data
+ ) ;
+ public final native void gluTessVertex (
+ long tess,
+ double[] location,
+ int[] data
+ ) ;
+ public final native void gluTessVertex (
+ long tess,
+ double[] location,
+ float[] data
+ ) ;
+ public final native void gluTessVertex (
+ long tess,
+ double[] location,
+ double[] data
+ ) ;
+ public final native void gluTessVertex (
+ long tess,
+ double[] location,
+ boolean[] data
+ ) ;
+ public final native void gluTessVertex (
+ long tess,
+ double[] location,
+ long[] data
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluUnProject ( GLdouble winX , GLdouble winY , GLdouble winZ , const GLdouble * model , const GLdouble * proj , const GLint * view , GLdouble * objX , GLdouble * objY , GLdouble * objZ ) ;
+ * </pre>
+ */
+ public final native int gluUnProject (
+ double winX,
+ double winY,
+ double winZ,
+ double[] model,
+ double[] proj,
+ int[] view,
+ double[] objX,
+ double[] objY,
+ double[] objZ
) ;
-/* C2J Parser Version 2.2: Java program parsed successfully. */
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluUnProject4 ( GLdouble winX , GLdouble winY , GLdouble winZ , GLdouble clipW , const GLdouble * model , const GLdouble * proj , const GLint * view , GLdouble nearVal , GLdouble farVal , GLdouble * objX , GLdouble * objY , GLdouble * objZ , GLdouble * objW ) ;
+ * </pre>
+ */
+ public final native int gluUnProject4 (
+ double winX,
+ double winY,
+ double winZ,
+ double clipW,
+ double[] model,
+ double[] proj,
+ int[] view,
+ double nearVal,
+ double farVal,
+ double[] objX,
+ double[] objY,
+ double[] objZ,
+ double[] objW
+ ) ;
+
+/* C2J Parser Version 3.0: Java program parsed successfully. */
}