From 880653d31a8f1ff8384fdbc75b84934bceecfdb8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 18 Nov 2000 06:43:49 +0000 Subject: Initial revision --- gl4java/utils/glut/GLUTFunc.java | 54 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 gl4java/utils/glut/GLUTFunc.java (limited to 'gl4java/utils/glut/GLUTFunc.java') diff --git a/gl4java/utils/glut/GLUTFunc.java b/gl4java/utils/glut/GLUTFunc.java new file mode 100644 index 0000000..fc69d30 --- /dev/null +++ b/gl4java/utils/glut/GLUTFunc.java @@ -0,0 +1,54 @@ + +package gl4java.utils.glut; + +import gl4java.GLFunc; +import gl4java.GLUFunc; + +public interface GLUTFunc +extends GLUTEnum +{ + public void init(GLFunc gl, GLUFunc glu); + + public String glutGetFontDescription(int font); + public void glutBitmapString(int font, String s); + public int glutBitmapWidth(int font, int character); + public void glutStrokeString(int font, String s); + public int glutStrokeWidth(int font, int character); + + public int glutBitmapLength(int font, String string); + public int glutStrokeLength(int font, String string); + + public void glutWireSphere(double radius, int slices, int stacks); + public void glutSolidSphere(double radius, int slices, int stacks); + public void glutWireCone(double base, double height, int slices, int stacks); + public void glutSolidCone(double base, double height, int slices, int stacks); + public void glutWireCube(double size); + public void glutSolidCube(double size); + public void glutWireTorus(double innerRadius, double outerRadius, int sides, int rings); + public void glutSolidTorus(double innerRadius, double outerRadius, int sides, int rings); + public void glutWireDodecahedron(); + public void glutSolidDodecahedron(); + public void glutWireTeapot(double size); + public void glutSolidTeapot(double size); + public void glutWireOctahedron(); + public void glutSolidOctahedron(); + public void glutWireTetrahedron(); + public void glutSolidTetrahedron(); + public void glutWireIcosahedron(); + public void glutSolidIcosahedron(); + + + + public int glutVideoResizeGet(int param); + public void glutSetupVideoResizing(); + public void glutStopVideoResizing(); + public void glutVideoResize(int x, int y, int width, int height); + public void glutVideoPan(int x, int y, int width, int height); + + + public void glutReportErrors(); +} + + + + -- cgit v1.2.3