ffi-opengl 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,220 @@
1
+
2
+ module GLU
3
+ extend FFI::Library
4
+ GLU_EXT_object_space_tess = 1
5
+ GLU_EXT_nurbs_tessellator = 1
6
+ GLU_FALSE = 0
7
+ GLU_TRUE = 1
8
+ GLU_VERSION_1_1 = 1
9
+ GLU_VERSION_1_2 = 1
10
+ GLU_VERSION_1_3 = 1
11
+ GLU_VERSION = 100800
12
+ GLU_EXTENSIONS = 100801
13
+ GLU_INVALID_ENUM = 100900
14
+ GLU_INVALID_VALUE = 100901
15
+ GLU_OUT_OF_MEMORY = 100902
16
+ GLU_INCOMPATIBLE_GL_VERSION = 100903
17
+ GLU_INVALID_OPERATION = 100904
18
+ GLU_OUTLINE_POLYGON = 100240
19
+ GLU_OUTLINE_PATCH = 100241
20
+ GLU_NURBS_ERROR = 100103
21
+ GLU_ERROR = 100103
22
+ GLU_NURBS_BEGIN = 100164
23
+ GLU_NURBS_BEGIN_EXT = 100164
24
+ GLU_NURBS_VERTEX = 100165
25
+ GLU_NURBS_VERTEX_EXT = 100165
26
+ GLU_NURBS_NORMAL = 100166
27
+ GLU_NURBS_NORMAL_EXT = 100166
28
+ GLU_NURBS_COLOR = 100167
29
+ GLU_NURBS_COLOR_EXT = 100167
30
+ GLU_NURBS_TEXTURE_COORD = 100168
31
+ GLU_NURBS_TEX_COORD_EXT = 100168
32
+ GLU_NURBS_END = 100169
33
+ GLU_NURBS_END_EXT = 100169
34
+ GLU_NURBS_BEGIN_DATA = 100170
35
+ GLU_NURBS_BEGIN_DATA_EXT = 100170
36
+ GLU_NURBS_VERTEX_DATA = 100171
37
+ GLU_NURBS_VERTEX_DATA_EXT = 100171
38
+ GLU_NURBS_NORMAL_DATA = 100172
39
+ GLU_NURBS_NORMAL_DATA_EXT = 100172
40
+ GLU_NURBS_COLOR_DATA = 100173
41
+ GLU_NURBS_COLOR_DATA_EXT = 100173
42
+ GLU_NURBS_TEXTURE_COORD_DATA = 100174
43
+ GLU_NURBS_TEX_COORD_DATA_EXT = 100174
44
+ GLU_NURBS_END_DATA = 100175
45
+ GLU_NURBS_END_DATA_EXT = 100175
46
+ GLU_NURBS_ERROR1 = 100251
47
+ GLU_NURBS_ERROR2 = 100252
48
+ GLU_NURBS_ERROR3 = 100253
49
+ GLU_NURBS_ERROR4 = 100254
50
+ GLU_NURBS_ERROR5 = 100255
51
+ GLU_NURBS_ERROR6 = 100256
52
+ GLU_NURBS_ERROR7 = 100257
53
+ GLU_NURBS_ERROR8 = 100258
54
+ GLU_NURBS_ERROR9 = 100259
55
+ GLU_NURBS_ERROR10 = 100260
56
+ GLU_NURBS_ERROR11 = 100261
57
+ GLU_NURBS_ERROR12 = 100262
58
+ GLU_NURBS_ERROR13 = 100263
59
+ GLU_NURBS_ERROR14 = 100264
60
+ GLU_NURBS_ERROR15 = 100265
61
+ GLU_NURBS_ERROR16 = 100266
62
+ GLU_NURBS_ERROR17 = 100267
63
+ GLU_NURBS_ERROR18 = 100268
64
+ GLU_NURBS_ERROR19 = 100269
65
+ GLU_NURBS_ERROR20 = 100270
66
+ GLU_NURBS_ERROR21 = 100271
67
+ GLU_NURBS_ERROR22 = 100272
68
+ GLU_NURBS_ERROR23 = 100273
69
+ GLU_NURBS_ERROR24 = 100274
70
+ GLU_NURBS_ERROR25 = 100275
71
+ GLU_NURBS_ERROR26 = 100276
72
+ GLU_NURBS_ERROR27 = 100277
73
+ GLU_NURBS_ERROR28 = 100278
74
+ GLU_NURBS_ERROR29 = 100279
75
+ GLU_NURBS_ERROR30 = 100280
76
+ GLU_NURBS_ERROR31 = 100281
77
+ GLU_NURBS_ERROR32 = 100282
78
+ GLU_NURBS_ERROR33 = 100283
79
+ GLU_NURBS_ERROR34 = 100284
80
+ GLU_NURBS_ERROR35 = 100285
81
+ GLU_NURBS_ERROR36 = 100286
82
+ GLU_NURBS_ERROR37 = 100287
83
+ GLU_AUTO_LOAD_MATRIX = 100200
84
+ GLU_CULLING = 100201
85
+ GLU_SAMPLING_TOLERANCE = 100203
86
+ GLU_DISPLAY_MODE = 100204
87
+ GLU_PARAMETRIC_TOLERANCE = 100202
88
+ GLU_SAMPLING_METHOD = 100205
89
+ GLU_U_STEP = 100206
90
+ GLU_V_STEP = 100207
91
+ GLU_NURBS_MODE = 100160
92
+ GLU_NURBS_MODE_EXT = 100160
93
+ GLU_NURBS_TESSELLATOR = 100161
94
+ GLU_NURBS_TESSELLATOR_EXT = 100161
95
+ GLU_NURBS_RENDERER = 100162
96
+ GLU_NURBS_RENDERER_EXT = 100162
97
+ GLU_OBJECT_PARAMETRIC_ERROR = 100208
98
+ GLU_OBJECT_PARAMETRIC_ERROR_EXT = 100208
99
+ GLU_OBJECT_PATH_LENGTH = 100209
100
+ GLU_OBJECT_PATH_LENGTH_EXT = 100209
101
+ GLU_PATH_LENGTH = 100215
102
+ GLU_PARAMETRIC_ERROR = 100216
103
+ GLU_DOMAIN_DISTANCE = 100217
104
+ GLU_MAP1_TRIM_2 = 100210
105
+ GLU_MAP1_TRIM_3 = 100211
106
+ GLU_POINT = 100010
107
+ GLU_LINE = 100011
108
+ GLU_FILL = 100012
109
+ GLU_SILHOUETTE = 100013
110
+ GLU_SMOOTH = 100000
111
+ GLU_FLAT = 100001
112
+ GLU_NONE = 100002
113
+ GLU_OUTSIDE = 100020
114
+ GLU_INSIDE = 100021
115
+ GLU_TESS_BEGIN = 100100
116
+ GLU_BEGIN = 100100
117
+ GLU_TESS_VERTEX = 100101
118
+ GLU_VERTEX = 100101
119
+ GLU_TESS_END = 100102
120
+ GLU_END = 100102
121
+ GLU_TESS_ERROR = 100103
122
+ GLU_TESS_EDGE_FLAG = 100104
123
+ GLU_EDGE_FLAG = 100104
124
+ GLU_TESS_COMBINE = 100105
125
+ GLU_TESS_BEGIN_DATA = 100106
126
+ GLU_TESS_VERTEX_DATA = 100107
127
+ GLU_TESS_END_DATA = 100108
128
+ GLU_TESS_ERROR_DATA = 100109
129
+ GLU_TESS_EDGE_FLAG_DATA = 100110
130
+ GLU_TESS_COMBINE_DATA = 100111
131
+ GLU_CW = 100120
132
+ GLU_CCW = 100121
133
+ GLU_INTERIOR = 100122
134
+ GLU_EXTERIOR = 100123
135
+ GLU_UNKNOWN = 100124
136
+ GLU_TESS_WINDING_RULE = 100140
137
+ GLU_TESS_BOUNDARY_ONLY = 100141
138
+ GLU_TESS_TOLERANCE = 100142
139
+ GLU_TESS_ERROR1 = 100151
140
+ GLU_TESS_ERROR2 = 100152
141
+ GLU_TESS_ERROR3 = 100153
142
+ GLU_TESS_ERROR4 = 100154
143
+ GLU_TESS_ERROR5 = 100155
144
+ GLU_TESS_ERROR6 = 100156
145
+ GLU_TESS_ERROR7 = 100157
146
+ GLU_TESS_ERROR8 = 100158
147
+ GLU_TESS_MISSING_BEGIN_POLYGON = 100151
148
+ GLU_TESS_MISSING_BEGIN_CONTOUR = 100152
149
+ GLU_TESS_MISSING_END_POLYGON = 100153
150
+ GLU_TESS_MISSING_END_CONTOUR = 100154
151
+ GLU_TESS_COORD_TOO_LARGE = 100155
152
+ GLU_TESS_NEED_COMBINE_CALLBACK = 100156
153
+ GLU_TESS_WINDING_ODD = 100130
154
+ GLU_TESS_WINDING_NONZERO = 100131
155
+ GLU_TESS_WINDING_POSITIVE = 100132
156
+ GLU_TESS_WINDING_NEGATIVE = 100133
157
+ GLU_TESS_WINDING_ABS_GEQ_TWO = 100134
158
+ GLU_TESS_MAX_COORD = 1.0e150
159
+ callback(:_GLUfuncptr, [ ], :void)
160
+ attach_function :gluBeginCurve, [ :pointer ], :void
161
+ attach_function :gluBeginPolygon, [ :pointer ], :void
162
+ attach_function :gluBeginSurface, [ :pointer ], :void
163
+ attach_function :gluBeginTrim, [ :pointer ], :void
164
+ attach_function :gluBuild1DMipmapLevels, [ :uint, :int, :int, :uint, :uint, :int, :int, :int, :pointer ], :int
165
+ attach_function :gluBuild1DMipmaps, [ :uint, :int, :int, :uint, :uint, :pointer ], :int
166
+ attach_function :gluBuild2DMipmapLevels, [ :uint, :int, :int, :int, :uint, :uint, :int, :int, :int, :pointer ], :int
167
+ attach_function :gluBuild2DMipmaps, [ :uint, :int, :int, :int, :uint, :uint, :pointer ], :int
168
+ attach_function :gluBuild3DMipmapLevels, [ :uint, :int, :int, :int, :int, :uint, :uint, :int, :int, :int, :pointer ], :int
169
+ attach_function :gluBuild3DMipmaps, [ :uint, :int, :int, :int, :int, :uint, :uint, :pointer ], :int
170
+ attach_function :gluCheckExtension, [ :pointer, :pointer ], :uchar
171
+ attach_function :gluCylinder, [ :pointer, :double, :double, :double, :int, :int ], :void
172
+ attach_function :gluDeleteNurbsRenderer, [ :pointer ], :void
173
+ attach_function :gluDeleteQuadric, [ :pointer ], :void
174
+ attach_function :gluDeleteTess, [ :pointer ], :void
175
+ attach_function :gluDisk, [ :pointer, :double, :double, :int, :int ], :void
176
+ attach_function :gluEndCurve, [ :pointer ], :void
177
+ attach_function :gluEndPolygon, [ :pointer ], :void
178
+ attach_function :gluEndSurface, [ :pointer ], :void
179
+ attach_function :gluEndTrim, [ :pointer ], :void
180
+ attach_function :gluErrorString, [ :uint ], :pointer
181
+ attach_function :gluGetNurbsProperty, [ :pointer, :uint, :pointer ], :void
182
+ attach_function :gluGetString, [ :uint ], :pointer
183
+ attach_function :gluGetTessProperty, [ :pointer, :uint, :pointer ], :void
184
+ attach_function :gluLoadSamplingMatrices, [ :pointer, :pointer, :pointer, :pointer ], :void
185
+ attach_function :gluLookAt, [ :double, :double, :double, :double, :double, :double, :double, :double, :double ], :void
186
+ attach_function :gluNewNurbsRenderer, [ ], :pointer
187
+ attach_function :gluNewQuadric, [ ], :pointer
188
+ attach_function :gluNewTess, [ ], :pointer
189
+ attach_function :gluNextContour, [ :pointer, :uint ], :void
190
+ attach_function :gluNurbsCallback, [ :pointer, :uint, :_GLUfuncptr ], :void
191
+ attach_function :gluNurbsCallbackData, [ :pointer, :pointer ], :void
192
+ attach_function :gluNurbsCallbackDataEXT, [ :pointer, :pointer ], :void
193
+ attach_function :gluNurbsCurve, [ :pointer, :int, :pointer, :int, :pointer, :int, :uint ], :void
194
+ attach_function :gluNurbsProperty, [ :pointer, :uint, :float ], :void
195
+ attach_function :gluNurbsSurface, [ :pointer, :int, :pointer, :int, :pointer, :int, :int, :pointer, :int, :int, :uint ], :void
196
+ attach_function :gluOrtho2D, [ :double, :double, :double, :double ], :void
197
+ attach_function :gluPartialDisk, [ :pointer, :double, :double, :int, :int, :double, :double ], :void
198
+ attach_function :gluPerspective, [ :double, :double, :double, :double ], :void
199
+ attach_function :gluPickMatrix, [ :double, :double, :double, :double, :pointer ], :void
200
+ attach_function :gluProject, [ :double, :double, :double, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :int
201
+ attach_function :gluPwlCurve, [ :pointer, :int, :pointer, :int, :uint ], :void
202
+ attach_function :gluQuadricCallback, [ :pointer, :uint, :_GLUfuncptr ], :void
203
+ attach_function :gluQuadricDrawStyle, [ :pointer, :uint ], :void
204
+ attach_function :gluQuadricNormals, [ :pointer, :uint ], :void
205
+ attach_function :gluQuadricOrientation, [ :pointer, :uint ], :void
206
+ attach_function :gluQuadricTexture, [ :pointer, :uchar ], :void
207
+ attach_function :gluScaleImage, [ :uint, :int, :int, :uint, :pointer, :int, :int, :uint, :pointer ], :int
208
+ attach_function :gluSphere, [ :pointer, :double, :int, :int ], :void
209
+ attach_function :gluTessBeginContour, [ :pointer ], :void
210
+ attach_function :gluTessBeginPolygon, [ :pointer, :pointer ], :void
211
+ attach_function :gluTessCallback, [ :pointer, :uint, :_GLUfuncptr ], :void
212
+ attach_function :gluTessEndContour, [ :pointer ], :void
213
+ attach_function :gluTessEndPolygon, [ :pointer ], :void
214
+ attach_function :gluTessNormal, [ :pointer, :double, :double, :double ], :void
215
+ attach_function :gluTessProperty, [ :pointer, :uint, :double ], :void
216
+ attach_function :gluTessVertex, [ :pointer, :pointer, :pointer ], :void
217
+ attach_function :gluUnProject, [ :double, :double, :double, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :int
218
+ attach_function :gluUnProject4, [ :double, :double, :double, :double, :pointer, :pointer, :pointer, :double, :double, :pointer, :pointer, :pointer, :pointer ], :int
219
+
220
+ end
@@ -0,0 +1,286 @@
1
+
2
+ module GLUT
3
+ extend FFI::Library
4
+ FREEGLUT = 1
5
+ GLUT_API_VERSION = 4
6
+ FREEGLUT_VERSION_2_0 = 1
7
+ GLUT_XLIB_IMPLEMENTATION = 13
8
+ GLUT_KEY_F1 = 0x0001
9
+ GLUT_KEY_F2 = 0x0002
10
+ GLUT_KEY_F3 = 0x0003
11
+ GLUT_KEY_F4 = 0x0004
12
+ GLUT_KEY_F5 = 0x0005
13
+ GLUT_KEY_F6 = 0x0006
14
+ GLUT_KEY_F7 = 0x0007
15
+ GLUT_KEY_F8 = 0x0008
16
+ GLUT_KEY_F9 = 0x0009
17
+ GLUT_KEY_F10 = 0x000A
18
+ GLUT_KEY_F11 = 0x000B
19
+ GLUT_KEY_F12 = 0x000C
20
+ GLUT_KEY_LEFT = 0x0064
21
+ GLUT_KEY_UP = 0x0065
22
+ GLUT_KEY_RIGHT = 0x0066
23
+ GLUT_KEY_DOWN = 0x0067
24
+ GLUT_KEY_PAGE_UP = 0x0068
25
+ GLUT_KEY_PAGE_DOWN = 0x0069
26
+ GLUT_KEY_HOME = 0x006A
27
+ GLUT_KEY_END = 0x006B
28
+ GLUT_KEY_INSERT = 0x006C
29
+ GLUT_LEFT_BUTTON = 0x0000
30
+ GLUT_MIDDLE_BUTTON = 0x0001
31
+ GLUT_RIGHT_BUTTON = 0x0002
32
+ GLUT_DOWN = 0x0000
33
+ GLUT_UP = 0x0001
34
+ GLUT_LEFT = 0x0000
35
+ GLUT_ENTERED = 0x0001
36
+ GLUT_RGB = 0x0000
37
+ GLUT_RGBA = 0x0000
38
+ GLUT_INDEX = 0x0001
39
+ GLUT_SINGLE = 0x0000
40
+ GLUT_DOUBLE = 0x0002
41
+ GLUT_ACCUM = 0x0004
42
+ GLUT_ALPHA = 0x0008
43
+ GLUT_DEPTH = 0x0010
44
+ GLUT_STENCIL = 0x0020
45
+ GLUT_MULTISAMPLE = 0x0080
46
+ GLUT_STEREO = 0x0100
47
+ GLUT_LUMINANCE = 0x0200
48
+ GLUT_MENU_NOT_IN_USE = 0x0000
49
+ GLUT_MENU_IN_USE = 0x0001
50
+ GLUT_NOT_VISIBLE = 0x0000
51
+ GLUT_VISIBLE = 0x0001
52
+ GLUT_HIDDEN = 0x0000
53
+ GLUT_FULLY_RETAINED = 0x0001
54
+ GLUT_PARTIALLY_RETAINED = 0x0002
55
+ GLUT_FULLY_COVERED = 0x0003
56
+ GLUT_WINDOW_X = 0x0064
57
+ GLUT_WINDOW_Y = 0x0065
58
+ GLUT_WINDOW_WIDTH = 0x0066
59
+ GLUT_WINDOW_HEIGHT = 0x0067
60
+ GLUT_WINDOW_BUFFER_SIZE = 0x0068
61
+ GLUT_WINDOW_STENCIL_SIZE = 0x0069
62
+ GLUT_WINDOW_DEPTH_SIZE = 0x006A
63
+ GLUT_WINDOW_RED_SIZE = 0x006B
64
+ GLUT_WINDOW_GREEN_SIZE = 0x006C
65
+ GLUT_WINDOW_BLUE_SIZE = 0x006D
66
+ GLUT_WINDOW_ALPHA_SIZE = 0x006E
67
+ GLUT_WINDOW_ACCUM_RED_SIZE = 0x006F
68
+ GLUT_WINDOW_ACCUM_GREEN_SIZE = 0x0070
69
+ GLUT_WINDOW_ACCUM_BLUE_SIZE = 0x0071
70
+ GLUT_WINDOW_ACCUM_ALPHA_SIZE = 0x0072
71
+ GLUT_WINDOW_DOUBLEBUFFER = 0x0073
72
+ GLUT_WINDOW_RGBA = 0x0074
73
+ GLUT_WINDOW_PARENT = 0x0075
74
+ GLUT_WINDOW_NUM_CHILDREN = 0x0076
75
+ GLUT_WINDOW_COLORMAP_SIZE = 0x0077
76
+ GLUT_WINDOW_NUM_SAMPLES = 0x0078
77
+ GLUT_WINDOW_STEREO = 0x0079
78
+ GLUT_WINDOW_CURSOR = 0x007A
79
+ GLUT_SCREEN_WIDTH = 0x00C8
80
+ GLUT_SCREEN_HEIGHT = 0x00C9
81
+ GLUT_SCREEN_WIDTH_MM = 0x00CA
82
+ GLUT_SCREEN_HEIGHT_MM = 0x00CB
83
+ GLUT_MENU_NUM_ITEMS = 0x012C
84
+ GLUT_DISPLAY_MODE_POSSIBLE = 0x0190
85
+ GLUT_INIT_WINDOW_X = 0x01F4
86
+ GLUT_INIT_WINDOW_Y = 0x01F5
87
+ GLUT_INIT_WINDOW_WIDTH = 0x01F6
88
+ GLUT_INIT_WINDOW_HEIGHT = 0x01F7
89
+ GLUT_INIT_DISPLAY_MODE = 0x01F8
90
+ GLUT_ELAPSED_TIME = 0x02BC
91
+ GLUT_WINDOW_FORMAT_ID = 0x007B
92
+ GLUT_INIT_STATE = 0x007C
93
+ GLUT_HAS_KEYBOARD = 0x0258
94
+ GLUT_HAS_MOUSE = 0x0259
95
+ GLUT_HAS_SPACEBALL = 0x025A
96
+ GLUT_HAS_DIAL_AND_BUTTON_BOX = 0x025B
97
+ GLUT_HAS_TABLET = 0x025C
98
+ GLUT_NUM_MOUSE_BUTTONS = 0x025D
99
+ GLUT_NUM_SPACEBALL_BUTTONS = 0x025E
100
+ GLUT_NUM_BUTTON_BOX_BUTTONS = 0x025F
101
+ GLUT_NUM_DIALS = 0x0260
102
+ GLUT_NUM_TABLET_BUTTONS = 0x0261
103
+ GLUT_DEVICE_IGNORE_KEY_REPEAT = 0x0262
104
+ GLUT_DEVICE_KEY_REPEAT = 0x0263
105
+ GLUT_HAS_JOYSTICK = 0x0264
106
+ GLUT_OWNS_JOYSTICK = 0x0265
107
+ GLUT_JOYSTICK_BUTTONS = 0x0266
108
+ GLUT_JOYSTICK_AXES = 0x0267
109
+ GLUT_JOYSTICK_POLL_RATE = 0x0268
110
+ GLUT_OVERLAY_POSSIBLE = 0x0320
111
+ GLUT_LAYER_IN_USE = 0x0321
112
+ GLUT_HAS_OVERLAY = 0x0322
113
+ GLUT_TRANSPARENT_INDEX = 0x0323
114
+ GLUT_NORMAL_DAMAGED = 0x0324
115
+ GLUT_OVERLAY_DAMAGED = 0x0325
116
+ GLUT_VIDEO_RESIZE_POSSIBLE = 0x0384
117
+ GLUT_VIDEO_RESIZE_IN_USE = 0x0385
118
+ GLUT_VIDEO_RESIZE_X_DELTA = 0x0386
119
+ GLUT_VIDEO_RESIZE_Y_DELTA = 0x0387
120
+ GLUT_VIDEO_RESIZE_WIDTH_DELTA = 0x0388
121
+ GLUT_VIDEO_RESIZE_HEIGHT_DELTA = 0x0389
122
+ GLUT_VIDEO_RESIZE_X = 0x038A
123
+ GLUT_VIDEO_RESIZE_Y = 0x038B
124
+ GLUT_VIDEO_RESIZE_WIDTH = 0x038C
125
+ GLUT_VIDEO_RESIZE_HEIGHT = 0x038D
126
+ GLUT_NORMAL = 0x0000
127
+ GLUT_OVERLAY = 0x0001
128
+ GLUT_ACTIVE_SHIFT = 0x0001
129
+ GLUT_ACTIVE_CTRL = 0x0002
130
+ GLUT_ACTIVE_ALT = 0x0004
131
+ GLUT_CURSOR_RIGHT_ARROW = 0x0000
132
+ GLUT_CURSOR_LEFT_ARROW = 0x0001
133
+ GLUT_CURSOR_INFO = 0x0002
134
+ GLUT_CURSOR_DESTROY = 0x0003
135
+ GLUT_CURSOR_HELP = 0x0004
136
+ GLUT_CURSOR_CYCLE = 0x0005
137
+ GLUT_CURSOR_SPRAY = 0x0006
138
+ GLUT_CURSOR_WAIT = 0x0007
139
+ GLUT_CURSOR_TEXT = 0x0008
140
+ GLUT_CURSOR_CROSSHAIR = 0x0009
141
+ GLUT_CURSOR_UP_DOWN = 0x000A
142
+ GLUT_CURSOR_LEFT_RIGHT = 0x000B
143
+ GLUT_CURSOR_TOP_SIDE = 0x000C
144
+ GLUT_CURSOR_BOTTOM_SIDE = 0x000D
145
+ GLUT_CURSOR_LEFT_SIDE = 0x000E
146
+ GLUT_CURSOR_RIGHT_SIDE = 0x000F
147
+ GLUT_CURSOR_TOP_LEFT_CORNER = 0x0010
148
+ GLUT_CURSOR_TOP_RIGHT_CORNER = 0x0011
149
+ GLUT_CURSOR_BOTTOM_RIGHT_CORNER = 0x0012
150
+ GLUT_CURSOR_BOTTOM_LEFT_CORNER = 0x0013
151
+ GLUT_CURSOR_INHERIT = 0x0064
152
+ GLUT_CURSOR_NONE = 0x0065
153
+ GLUT_CURSOR_FULL_CROSSHAIR = 0x0066
154
+ GLUT_RED = 0x0000
155
+ GLUT_GREEN = 0x0001
156
+ GLUT_BLUE = 0x0002
157
+ GLUT_KEY_REPEAT_OFF = 0x0000
158
+ GLUT_KEY_REPEAT_ON = 0x0001
159
+ GLUT_KEY_REPEAT_DEFAULT = 0x0002
160
+ GLUT_JOYSTICK_BUTTON_A = 0x0001
161
+ GLUT_JOYSTICK_BUTTON_B = 0x0002
162
+ GLUT_JOYSTICK_BUTTON_C = 0x0004
163
+ GLUT_JOYSTICK_BUTTON_D = 0x0008
164
+ GLUT_GAME_MODE_ACTIVE = 0x0000
165
+ GLUT_GAME_MODE_POSSIBLE = 0x0001
166
+ GLUT_GAME_MODE_WIDTH = 0x0002
167
+ GLUT_GAME_MODE_HEIGHT = 0x0003
168
+ GLUT_GAME_MODE_PIXEL_DEPTH = 0x0004
169
+ GLUT_GAME_MODE_REFRESH_RATE = 0x0005
170
+ GLUT_GAME_MODE_DISPLAY_CHANGED = 0x0006
171
+ attach_function :glutInit, [ :pointer, :pointer ], :void
172
+ attach_function :glutInitWindowPosition, [ :int, :int ], :void
173
+ attach_function :glutInitWindowSize, [ :int, :int ], :void
174
+ attach_function :glutInitDisplayMode, [ :uint ], :void
175
+ attach_function :glutInitDisplayString, [ :string ], :void
176
+ attach_function :glutMainLoop, [ ], :void
177
+ attach_function :glutCreateWindow, [ :string ], :int
178
+ attach_function :glutCreateSubWindow, [ :int, :int, :int, :int, :int ], :int
179
+ attach_function :glutDestroyWindow, [ :int ], :void
180
+ attach_function :glutSetWindow, [ :int ], :void
181
+ attach_function :glutGetWindow, [ ], :int
182
+ attach_function :glutSetWindowTitle, [ :string ], :void
183
+ attach_function :glutSetIconTitle, [ :string ], :void
184
+ attach_function :glutReshapeWindow, [ :int, :int ], :void
185
+ attach_function :glutPositionWindow, [ :int, :int ], :void
186
+ attach_function :glutShowWindow, [ ], :void
187
+ attach_function :glutHideWindow, [ ], :void
188
+ attach_function :glutIconifyWindow, [ ], :void
189
+ attach_function :glutPushWindow, [ ], :void
190
+ attach_function :glutPopWindow, [ ], :void
191
+ attach_function :glutFullScreen, [ ], :void
192
+ attach_function :glutPostWindowRedisplay, [ :int ], :void
193
+ attach_function :glutPostRedisplay, [ ], :void
194
+ attach_function :glutSwapBuffers, [ ], :void
195
+ attach_function :glutWarpPointer, [ :int, :int ], :void
196
+ attach_function :glutSetCursor, [ :int ], :void
197
+ attach_function :glutEstablishOverlay, [ ], :void
198
+ attach_function :glutRemoveOverlay, [ ], :void
199
+ attach_function :glutUseLayer, [ :uint ], :void
200
+ attach_function :glutPostOverlayRedisplay, [ ], :void
201
+ attach_function :glutPostWindowOverlayRedisplay, [ :int ], :void
202
+ attach_function :glutShowOverlay, [ ], :void
203
+ attach_function :glutHideOverlay, [ ], :void
204
+ attach_function :glutCreateMenu, [ callback([ :int ], :void) ], :int
205
+ attach_function :glutDestroyMenu, [ :int ], :void
206
+ attach_function :glutGetMenu, [ ], :int
207
+ attach_function :glutSetMenu, [ :int ], :void
208
+ attach_function :glutAddMenuEntry, [ :string, :int ], :void
209
+ attach_function :glutAddSubMenu, [ :string, :int ], :void
210
+ attach_function :glutChangeToMenuEntry, [ :int, :string, :int ], :void
211
+ attach_function :glutChangeToSubMenu, [ :int, :string, :int ], :void
212
+ attach_function :glutRemoveMenuItem, [ :int ], :void
213
+ attach_function :glutAttachMenu, [ :int ], :void
214
+ attach_function :glutDetachMenu, [ :int ], :void
215
+ attach_function :glutTimerFunc, [ :uint, callback([ :int ], :void), :int ], :void
216
+ attach_function :glutIdleFunc, [ callback([ ], :void) ], :void
217
+ attach_function :glutKeyboardFunc, [ callback([ :uchar, :int, :int ], :void) ], :void
218
+ attach_function :glutSpecialFunc, [ callback([ :int, :int, :int ], :void) ], :void
219
+ attach_function :glutReshapeFunc, [ callback([ :int, :int ], :void) ], :void
220
+ attach_function :glutVisibilityFunc, [ callback([ :int ], :void) ], :void
221
+ attach_function :glutDisplayFunc, [ callback([ ], :void) ], :void
222
+ attach_function :glutMouseFunc, [ callback([ :int, :int, :int, :int ], :void) ], :void
223
+ attach_function :glutMotionFunc, [ callback([ :int, :int ], :void) ], :void
224
+ attach_function :glutPassiveMotionFunc, [ callback([ :int, :int ], :void) ], :void
225
+ attach_function :glutEntryFunc, [ callback([ :int ], :void) ], :void
226
+ attach_function :glutKeyboardUpFunc, [ callback([ :uchar, :int, :int ], :void) ], :void
227
+ attach_function :glutSpecialUpFunc, [ callback([ :int, :int, :int ], :void) ], :void
228
+ attach_function :glutJoystickFunc, [ callback([ :uint, :int, :int, :int ], :void), :int ], :void
229
+ attach_function :glutMenuStateFunc, [ callback([ :int ], :void) ], :void
230
+ attach_function :glutMenuStatusFunc, [ callback([ :int, :int, :int ], :void) ], :void
231
+ attach_function :glutOverlayDisplayFunc, [ callback([ ], :void) ], :void
232
+ attach_function :glutWindowStatusFunc, [ callback([ :int ], :void) ], :void
233
+ attach_function :glutSpaceballMotionFunc, [ callback([ :int, :int, :int ], :void) ], :void
234
+ attach_function :glutSpaceballRotateFunc, [ callback([ :int, :int, :int ], :void) ], :void
235
+ attach_function :glutSpaceballButtonFunc, [ callback([ :int, :int ], :void) ], :void
236
+ attach_function :glutButtonBoxFunc, [ callback([ :int, :int ], :void) ], :void
237
+ attach_function :glutDialsFunc, [ callback([ :int, :int ], :void) ], :void
238
+ attach_function :glutTabletMotionFunc, [ callback([ :int, :int ], :void) ], :void
239
+ attach_function :glutTabletButtonFunc, [ callback([ :int, :int, :int, :int ], :void) ], :void
240
+ attach_function :glutGet, [ :uint ], :int
241
+ attach_function :glutDeviceGet, [ :uint ], :int
242
+ attach_function :glutGetModifiers, [ ], :int
243
+ attach_function :glutLayerGet, [ :uint ], :int
244
+ attach_function :glutBitmapCharacter, [ :pointer, :int ], :void
245
+ attach_function :glutBitmapWidth, [ :pointer, :int ], :int
246
+ attach_function :glutStrokeCharacter, [ :pointer, :int ], :void
247
+ attach_function :glutStrokeWidth, [ :pointer, :int ], :int
248
+ attach_function :glutBitmapLength, [ :pointer, :pointer ], :int
249
+ attach_function :glutStrokeLength, [ :pointer, :pointer ], :int
250
+ attach_function :glutWireCube, [ :double ], :void
251
+ attach_function :glutSolidCube, [ :double ], :void
252
+ attach_function :glutWireSphere, [ :double, :int, :int ], :void
253
+ attach_function :glutSolidSphere, [ :double, :int, :int ], :void
254
+ attach_function :glutWireCone, [ :double, :double, :int, :int ], :void
255
+ attach_function :glutSolidCone, [ :double, :double, :int, :int ], :void
256
+ attach_function :glutWireTorus, [ :double, :double, :int, :int ], :void
257
+ attach_function :glutSolidTorus, [ :double, :double, :int, :int ], :void
258
+ attach_function :glutWireDodecahedron, [ ], :void
259
+ attach_function :glutSolidDodecahedron, [ ], :void
260
+ attach_function :glutWireOctahedron, [ ], :void
261
+ attach_function :glutSolidOctahedron, [ ], :void
262
+ attach_function :glutWireTetrahedron, [ ], :void
263
+ attach_function :glutSolidTetrahedron, [ ], :void
264
+ attach_function :glutWireIcosahedron, [ ], :void
265
+ attach_function :glutSolidIcosahedron, [ ], :void
266
+ attach_function :glutWireTeapot, [ :double ], :void
267
+ attach_function :glutSolidTeapot, [ :double ], :void
268
+ attach_function :glutGameModeString, [ :string ], :void
269
+ attach_function :glutEnterGameMode, [ ], :int
270
+ attach_function :glutLeaveGameMode, [ ], :void
271
+ attach_function :glutGameModeGet, [ :uint ], :int
272
+ attach_function :glutVideoResizeGet, [ :uint ], :int
273
+ attach_function :glutSetupVideoResizing, [ ], :void
274
+ attach_function :glutStopVideoResizing, [ ], :void
275
+ attach_function :glutVideoResize, [ :int, :int, :int, :int ], :void
276
+ attach_function :glutVideoPan, [ :int, :int, :int, :int ], :void
277
+ attach_function :glutSetColor, [ :int, :float, :float, :float ], :void
278
+ attach_function :glutGetColor, [ :int, :int ], :float
279
+ attach_function :glutCopyColormap, [ :int ], :void
280
+ attach_function :glutIgnoreKeyRepeat, [ :int ], :void
281
+ attach_function :glutSetKeyRepeat, [ :int ], :void
282
+ attach_function :glutForceJoystickFunc, [ ], :void
283
+ attach_function :glutExtensionSupported, [ :string ], :int
284
+ attach_function :glutReportErrors, [ ], :void
285
+
286
+ end