remogatto-ffi-opengl 0.1.0

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