aboutsummaryrefslogtreecommitdiffstats
path: root/gl4java/utils/glut/GLUTFunc.java
blob: fc69d3013fe3b96d9f5198e6844c6aea0298bd54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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();
}