ruby-opengl 0.40.1 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. data/Rakefile +2 -2
  2. data/doc/build_install.txt +48 -28
  3. data/doc/extensions.txt +361 -0
  4. data/doc/history.txt +8 -2
  5. data/doc/requirements_and_design.txt +0 -13
  6. data/doc/roadmap.txt +11 -13
  7. data/doc/supplies/page_template.html +11 -5
  8. data/doc/thanks.txt +2 -4
  9. data/doc/tutorial.txt +1 -4
  10. data/examples/{nehe_lesson02.rb → NeHe/nehe_lesson02.rb} +0 -0
  11. data/examples/{nehe_lesson03.rb → NeHe/nehe_lesson03.rb} +0 -0
  12. data/examples/{nehe_lesson04.rb → NeHe/nehe_lesson04.rb} +0 -0
  13. data/examples/{nehe_lesson05.rb → NeHe/nehe_lesson05.rb} +0 -0
  14. data/examples/NeHe/nehe_lesson36.rb +303 -0
  15. data/examples/OrangeBook/3Dlabs-License.txt +33 -0
  16. data/examples/OrangeBook/brick.frag +36 -0
  17. data/examples/OrangeBook/brick.rb +388 -0
  18. data/examples/OrangeBook/brick.vert +41 -0
  19. data/examples/OrangeBook/particle.frag +17 -0
  20. data/examples/OrangeBook/particle.rb +424 -0
  21. data/examples/OrangeBook/particle.vert +38 -0
  22. data/examples/README +13 -83
  23. data/examples/RedBook/aaindex.rb +97 -0
  24. data/examples/RedBook/aapoly.rb +142 -0
  25. data/examples/RedBook/aargb.rb +119 -0
  26. data/examples/RedBook/accanti.rb +162 -0
  27. data/examples/RedBook/accpersp.rb +215 -0
  28. data/examples/RedBook/alpha.rb +123 -0
  29. data/examples/RedBook/alpha3D.rb +158 -0
  30. data/examples/RedBook/bezcurve.rb +105 -0
  31. data/examples/RedBook/bezmesh.rb +137 -0
  32. data/examples/RedBook/checker.rb +124 -0
  33. data/examples/RedBook/clip.rb +95 -0
  34. data/examples/RedBook/colormat.rb +135 -0
  35. data/examples/RedBook/cube.rb +69 -0
  36. data/examples/RedBook/depthcue.rb +99 -0
  37. data/examples/RedBook/dof.rb +205 -0
  38. data/examples/{legacy → RedBook}/double.rb +59 -58
  39. data/examples/{legacy → RedBook}/drawf.rb +47 -54
  40. data/examples/RedBook/feedback.rb +145 -0
  41. data/examples/RedBook/fog.rb +167 -0
  42. data/examples/RedBook/font.rb +151 -0
  43. data/examples/RedBook/hello.rb +79 -0
  44. data/examples/RedBook/image.rb +137 -0
  45. data/examples/{legacy → RedBook}/jitter.rb +60 -62
  46. data/examples/RedBook/lines.rb +128 -0
  47. data/examples/RedBook/list.rb +111 -0
  48. data/examples/RedBook/material.rb +275 -0
  49. data/examples/RedBook/mipmap.rb +156 -0
  50. data/examples/{legacy → RedBook}/model.rb +66 -72
  51. data/examples/{legacy → RedBook}/movelight.rb +67 -75
  52. data/examples/RedBook/pickdepth.rb +179 -0
  53. data/examples/{legacy → RedBook}/planet.rb +62 -66
  54. data/examples/RedBook/quadric.rb +158 -0
  55. data/examples/RedBook/robot.rb +115 -0
  56. data/examples/RedBook/select.rb +196 -0
  57. data/examples/RedBook/smooth.rb +95 -0
  58. data/examples/RedBook/stencil.rb +163 -0
  59. data/examples/RedBook/stroke.rb +167 -0
  60. data/examples/RedBook/surface.rb +166 -0
  61. data/examples/RedBook/teaambient.rb +132 -0
  62. data/examples/RedBook/teapots.rb +182 -0
  63. data/examples/RedBook/tess.rb +183 -0
  64. data/examples/RedBook/texbind.rb +147 -0
  65. data/examples/RedBook/texgen.rb +169 -0
  66. data/examples/RedBook/texturesurf.rb +128 -0
  67. data/examples/RedBook/varray.rb +159 -0
  68. data/examples/RedBook/wrap.rb +148 -0
  69. data/examples/misc/anisotropic.rb +194 -0
  70. data/examples/misc/font-glut.rb +46 -0
  71. data/examples/{plane.rb → misc/plane.rb} +0 -0
  72. data/examples/misc/readpixel.rb +65 -0
  73. data/examples/{smooth.rb → misc/smooth.rb} +0 -0
  74. data/examples/{test.rb → misc/test.rb} +0 -0
  75. data/ext/common/common.h +252 -70
  76. data/ext/common/gl-enums.h +6102 -7334
  77. data/ext/common/gl-types.h +47 -0
  78. data/ext/common/glu-enums.h +469 -0
  79. data/ext/gl/gl-1.0-1.1.c +842 -2464
  80. data/ext/gl/gl-1.2.c +217 -281
  81. data/ext/gl/gl-1.3.c +113 -133
  82. data/ext/gl/gl-1.4.c +98 -334
  83. data/ext/gl/gl-1.5.c +28 -34
  84. data/ext/gl/gl-2.0.c +26 -235
  85. data/ext/gl/gl-2.1.c +31 -124
  86. data/ext/gl/gl-enums.c +786 -631
  87. data/ext/gl/gl-ext-arb.c +66 -0
  88. data/ext/gl/gl-ext-ext.c +218 -0
  89. data/ext/gl/gl.c +138 -31
  90. data/ext/gl/mkrf_conf.rb +1 -0
  91. data/ext/glu/glu-enums.c +163 -0
  92. data/ext/glu/glu.c +1003 -1205
  93. data/ext/glu/mkrf_conf.rb +1 -0
  94. data/ext/glut/glut.c +1056 -1175
  95. data/lib/opengl.rb +90 -3
  96. data/test/tc_common.rb +26 -13
  97. data/test/tc_ext_arb.rb +73 -0
  98. data/test/tc_ext_ext.rb +74 -0
  99. data/test/tc_func_12.rb +8 -8
  100. data/test/tc_func_13.rb +17 -11
  101. data/test/tc_func_14.rb +8 -8
  102. data/test/tc_func_15.rb +190 -2
  103. data/test/tc_func_20.rb +36 -10
  104. data/test/tc_func_21.rb +445 -2
  105. data/test/tc_glu.rb +305 -0
  106. data/test/tc_misc.rb +1 -0
  107. metadata +84 -68
  108. data/doc/screenshots.txt +0 -23
  109. data/examples/legacy/COPYRIGHT +0 -8
  110. data/examples/legacy/aaindex.rb +0 -98
  111. data/examples/legacy/aapoly.rb +0 -153
  112. data/examples/legacy/aargb.rb +0 -139
  113. data/examples/legacy/accanti.rb +0 -159
  114. data/examples/legacy/accpersp.rb +0 -216
  115. data/examples/legacy/alpha.rb +0 -133
  116. data/examples/legacy/alpha3D.rb +0 -165
  117. data/examples/legacy/bezcurve.rb +0 -107
  118. data/examples/legacy/bezmesh.rb +0 -131
  119. data/examples/legacy/checker.rb +0 -121
  120. data/examples/legacy/clip.rb +0 -104
  121. data/examples/legacy/colormat.rb +0 -145
  122. data/examples/legacy/cube.rb +0 -73
  123. data/examples/legacy/depthcue.rb +0 -101
  124. data/examples/legacy/dof.rb +0 -212
  125. data/examples/legacy/feedback.rb +0 -152
  126. data/examples/legacy/fog.rb +0 -172
  127. data/examples/legacy/font-glut.rb +0 -41
  128. data/examples/legacy/font.rb +0 -158
  129. data/examples/legacy/hello.rb +0 -75
  130. data/examples/legacy/image.rb +0 -145
  131. data/examples/legacy/lines.rb +0 -135
  132. data/examples/legacy/list.rb +0 -120
  133. data/examples/legacy/material.rb +0 -290
  134. data/examples/legacy/mipmap.rb +0 -159
  135. data/examples/legacy/pickdepth.rb +0 -180
  136. data/examples/legacy/quadric.rb +0 -180
  137. data/examples/legacy/readpixel.rb +0 -59
  138. data/examples/legacy/robot.rb +0 -120
  139. data/examples/legacy/select.rb +0 -207
  140. data/examples/legacy/smooth.rb +0 -41
  141. data/examples/legacy/stencil.rb +0 -154
  142. data/examples/legacy/stroke.rb +0 -170
  143. data/examples/legacy/surface.rb +0 -170
  144. data/examples/legacy/teaambient.rb +0 -132
  145. data/examples/legacy/teapots.rb +0 -188
  146. data/examples/legacy/tess.rb +0 -222
  147. data/examples/legacy/texbind.rb +0 -157
  148. data/examples/legacy/texgen.rb +0 -171
  149. data/examples/legacy/texturesurf.rb +0 -128
  150. data/examples/legacy/varray.rb +0 -167
  151. data/examples/legacy/wrap.rb +0 -158
  152. data/lib/gl_prev.rb +0 -46
  153. data/lib/glu_prev.rb +0 -46
  154. data/lib/glut_prev.rb +0 -45
@@ -0,0 +1,47 @@
1
+ /*
2
+ * Copyright (C) 2007 Jan Dvorak <jan.dvorak@kraxnet.cz>
3
+ *
4
+ * This program is distributed under the terms of the MIT license.
5
+ * See the included MIT-LICENSE file for the terms of this license.
6
+ *
7
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
8
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
9
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
10
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
11
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
12
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
13
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14
+ */
15
+
16
+ /* GL types - define if system GLheaders are not recent
17
+ Note: must be included before gl-enums.h */
18
+
19
+ /* GL base */
20
+ #ifndef GL_VERSION_1_5
21
+ typedef ptrdiff_t GLintptr;
22
+ typedef ptrdiff_t GLsizeiptr;
23
+ #endif
24
+
25
+ #ifndef GL_VERSION_2_0
26
+ typedef char GLchar;
27
+ #endif
28
+
29
+ /* new GL types introduced by ARB extensions */
30
+ #ifndef GL_ARB_half_float_pixel
31
+ typedef unsigned short GLhalfARB;
32
+ #endif
33
+
34
+ #ifndef GL_ARB_shader_objects
35
+ typedef char GLcharARB;
36
+ typedef unsigned int GLhandleARB;
37
+ #endif
38
+
39
+ #ifndef GL_ARB_vertex_buffer_object
40
+ typedef ptrdiff_t GLintptrARB;
41
+ typedef ptrdiff_t GLsizeiptrARB;
42
+ #endif
43
+
44
+ /* new GL types introduced by other extensions */
45
+ #ifndef GL_NV_half_float
46
+ typedef unsigned short GLhalfNV;
47
+ #endif
@@ -0,0 +1,469 @@
1
+ /* This file was genereated on Mon Jul 23 15:17:36 +0200 2007
2
+ source: http://oss.sgi.com/cgi-bin/cvsweb.cgi/~checkout~/projects/ogl-sample/main/doc/registry/specs/enumglu.spec
3
+ */
4
+
5
+ #ifndef GLU_AUTO_LOAD_MATRIX
6
+ #define GLU_AUTO_LOAD_MATRIX 100200
7
+ #endif
8
+ #ifndef GLU_BEGIN
9
+ #define GLU_BEGIN 100100
10
+ #endif
11
+ #ifndef GLU_CCW
12
+ #define GLU_CCW 100121
13
+ #endif
14
+ #ifndef GLU_CULLING
15
+ #define GLU_CULLING 100201
16
+ #endif
17
+ #ifndef GLU_CW
18
+ #define GLU_CW 100120
19
+ #endif
20
+ #ifndef GLU_DISPLAY_MODE
21
+ #define GLU_DISPLAY_MODE 100204
22
+ #endif
23
+ #ifndef GLU_DOMAIN_DISTANCE
24
+ #define GLU_DOMAIN_DISTANCE 100217
25
+ #endif
26
+ #ifndef GLU_EDGE_FLAG
27
+ #define GLU_EDGE_FLAG 100104
28
+ #endif
29
+ #ifndef GLU_END
30
+ #define GLU_END 100102
31
+ #endif
32
+ #ifndef GLU_ERROR
33
+ #define GLU_ERROR 100103
34
+ #endif
35
+ #ifndef GLU_EXTENSIONS
36
+ #define GLU_EXTENSIONS 100801
37
+ #endif
38
+ #ifndef GLU_EXTERIOR
39
+ #define GLU_EXTERIOR 100123
40
+ #endif
41
+ #ifndef GLU_EXT_nurbs_tessellator
42
+ #define GLU_EXT_nurbs_tessellator 1
43
+ #endif
44
+ #ifndef GLU_EXT_object_space_tess
45
+ #define GLU_EXT_object_space_tess 1
46
+ #endif
47
+ #ifndef GLU_FALSE
48
+ #define GLU_FALSE 0
49
+ #endif
50
+ #ifndef GLU_FILL
51
+ #define GLU_FILL 100012
52
+ #endif
53
+ #ifndef GLU_FLAT
54
+ #define GLU_FLAT 100001
55
+ #endif
56
+ #ifndef GLU_INSIDE
57
+ #define GLU_INSIDE 100021
58
+ #endif
59
+ #ifndef GLU_INTERIOR
60
+ #define GLU_INTERIOR 100122
61
+ #endif
62
+ #ifndef GLU_INVALID_ENUM
63
+ #define GLU_INVALID_ENUM 100900
64
+ #endif
65
+ #ifndef GLU_INVALID_OPERATION
66
+ #define GLU_INVALID_OPERATION 100904
67
+ #endif
68
+ #ifndef GLU_INVALID_VALUE
69
+ #define GLU_INVALID_VALUE 100901
70
+ #endif
71
+ #ifndef GLU_LAGRANGIAN_SGI
72
+ #define GLU_LAGRANGIAN_SGI 100300
73
+ #endif
74
+ #ifndef GLU_LINE
75
+ #define GLU_LINE 100011
76
+ #endif
77
+ #ifndef GLU_MAP1_TRIM_2
78
+ #define GLU_MAP1_TRIM_2 100210
79
+ #endif
80
+ #ifndef GLU_MAP1_TRIM_3
81
+ #define GLU_MAP1_TRIM_3 100211
82
+ #endif
83
+ #ifndef GLU_MITCHELL_NETRAVALI_SGI
84
+ #define GLU_MITCHELL_NETRAVALI_SGI 100301
85
+ #endif
86
+ #ifndef GLU_NONE
87
+ #define GLU_NONE 100002
88
+ #endif
89
+ #ifndef GLU_NURBS_BEGIN
90
+ #define GLU_NURBS_BEGIN 100164
91
+ #endif
92
+ #ifndef GLU_NURBS_BEGIN_DATA
93
+ #define GLU_NURBS_BEGIN_DATA 100170
94
+ #endif
95
+ #ifndef GLU_NURBS_BEGIN_DATA_EXT
96
+ #define GLU_NURBS_BEGIN_DATA_EXT 100170
97
+ #endif
98
+ #ifndef GLU_NURBS_BEGIN_EXT
99
+ #define GLU_NURBS_BEGIN_EXT 100164
100
+ #endif
101
+ #ifndef GLU_NURBS_COLOR
102
+ #define GLU_NURBS_COLOR 100167
103
+ #endif
104
+ #ifndef GLU_NURBS_COLOR_DATA
105
+ #define GLU_NURBS_COLOR_DATA 100173
106
+ #endif
107
+ #ifndef GLU_NURBS_COLOR_DATA_EXT
108
+ #define GLU_NURBS_COLOR_DATA_EXT 100173
109
+ #endif
110
+ #ifndef GLU_NURBS_COLOR_EXT
111
+ #define GLU_NURBS_COLOR_EXT 100167
112
+ #endif
113
+ #ifndef GLU_NURBS_END
114
+ #define GLU_NURBS_END 100169
115
+ #endif
116
+ #ifndef GLU_NURBS_END_DATA
117
+ #define GLU_NURBS_END_DATA 100175
118
+ #endif
119
+ #ifndef GLU_NURBS_END_DATA_EXT
120
+ #define GLU_NURBS_END_DATA_EXT 100175
121
+ #endif
122
+ #ifndef GLU_NURBS_END_EXT
123
+ #define GLU_NURBS_END_EXT 100169
124
+ #endif
125
+ #ifndef GLU_NURBS_ERROR
126
+ #define GLU_NURBS_ERROR 100103
127
+ #endif
128
+ #ifndef GLU_NURBS_ERROR1
129
+ #define GLU_NURBS_ERROR1 100251
130
+ #endif
131
+ #ifndef GLU_NURBS_ERROR10
132
+ #define GLU_NURBS_ERROR10 100260
133
+ #endif
134
+ #ifndef GLU_NURBS_ERROR11
135
+ #define GLU_NURBS_ERROR11 100261
136
+ #endif
137
+ #ifndef GLU_NURBS_ERROR12
138
+ #define GLU_NURBS_ERROR12 100262
139
+ #endif
140
+ #ifndef GLU_NURBS_ERROR13
141
+ #define GLU_NURBS_ERROR13 100263
142
+ #endif
143
+ #ifndef GLU_NURBS_ERROR14
144
+ #define GLU_NURBS_ERROR14 100264
145
+ #endif
146
+ #ifndef GLU_NURBS_ERROR15
147
+ #define GLU_NURBS_ERROR15 100265
148
+ #endif
149
+ #ifndef GLU_NURBS_ERROR16
150
+ #define GLU_NURBS_ERROR16 100266
151
+ #endif
152
+ #ifndef GLU_NURBS_ERROR17
153
+ #define GLU_NURBS_ERROR17 100267
154
+ #endif
155
+ #ifndef GLU_NURBS_ERROR18
156
+ #define GLU_NURBS_ERROR18 100268
157
+ #endif
158
+ #ifndef GLU_NURBS_ERROR19
159
+ #define GLU_NURBS_ERROR19 100269
160
+ #endif
161
+ #ifndef GLU_NURBS_ERROR2
162
+ #define GLU_NURBS_ERROR2 100252
163
+ #endif
164
+ #ifndef GLU_NURBS_ERROR20
165
+ #define GLU_NURBS_ERROR20 100270
166
+ #endif
167
+ #ifndef GLU_NURBS_ERROR21
168
+ #define GLU_NURBS_ERROR21 100271
169
+ #endif
170
+ #ifndef GLU_NURBS_ERROR22
171
+ #define GLU_NURBS_ERROR22 100272
172
+ #endif
173
+ #ifndef GLU_NURBS_ERROR23
174
+ #define GLU_NURBS_ERROR23 100273
175
+ #endif
176
+ #ifndef GLU_NURBS_ERROR24
177
+ #define GLU_NURBS_ERROR24 100274
178
+ #endif
179
+ #ifndef GLU_NURBS_ERROR25
180
+ #define GLU_NURBS_ERROR25 100275
181
+ #endif
182
+ #ifndef GLU_NURBS_ERROR26
183
+ #define GLU_NURBS_ERROR26 100276
184
+ #endif
185
+ #ifndef GLU_NURBS_ERROR27
186
+ #define GLU_NURBS_ERROR27 100277
187
+ #endif
188
+ #ifndef GLU_NURBS_ERROR28
189
+ #define GLU_NURBS_ERROR28 100278
190
+ #endif
191
+ #ifndef GLU_NURBS_ERROR29
192
+ #define GLU_NURBS_ERROR29 100279
193
+ #endif
194
+ #ifndef GLU_NURBS_ERROR3
195
+ #define GLU_NURBS_ERROR3 100253
196
+ #endif
197
+ #ifndef GLU_NURBS_ERROR30
198
+ #define GLU_NURBS_ERROR30 100280
199
+ #endif
200
+ #ifndef GLU_NURBS_ERROR31
201
+ #define GLU_NURBS_ERROR31 100281
202
+ #endif
203
+ #ifndef GLU_NURBS_ERROR32
204
+ #define GLU_NURBS_ERROR32 100282
205
+ #endif
206
+ #ifndef GLU_NURBS_ERROR33
207
+ #define GLU_NURBS_ERROR33 100283
208
+ #endif
209
+ #ifndef GLU_NURBS_ERROR34
210
+ #define GLU_NURBS_ERROR34 100284
211
+ #endif
212
+ #ifndef GLU_NURBS_ERROR35
213
+ #define GLU_NURBS_ERROR35 100285
214
+ #endif
215
+ #ifndef GLU_NURBS_ERROR36
216
+ #define GLU_NURBS_ERROR36 100286
217
+ #endif
218
+ #ifndef GLU_NURBS_ERROR37
219
+ #define GLU_NURBS_ERROR37 100287
220
+ #endif
221
+ #ifndef GLU_NURBS_ERROR4
222
+ #define GLU_NURBS_ERROR4 100254
223
+ #endif
224
+ #ifndef GLU_NURBS_ERROR5
225
+ #define GLU_NURBS_ERROR5 100255
226
+ #endif
227
+ #ifndef GLU_NURBS_ERROR6
228
+ #define GLU_NURBS_ERROR6 100256
229
+ #endif
230
+ #ifndef GLU_NURBS_ERROR7
231
+ #define GLU_NURBS_ERROR7 100257
232
+ #endif
233
+ #ifndef GLU_NURBS_ERROR8
234
+ #define GLU_NURBS_ERROR8 100258
235
+ #endif
236
+ #ifndef GLU_NURBS_ERROR9
237
+ #define GLU_NURBS_ERROR9 100259
238
+ #endif
239
+ #ifndef GLU_NURBS_MODE
240
+ #define GLU_NURBS_MODE 100160
241
+ #endif
242
+ #ifndef GLU_NURBS_MODE_EXT
243
+ #define GLU_NURBS_MODE_EXT 100160
244
+ #endif
245
+ #ifndef GLU_NURBS_NORMAL
246
+ #define GLU_NURBS_NORMAL 100166
247
+ #endif
248
+ #ifndef GLU_NURBS_NORMAL_DATA
249
+ #define GLU_NURBS_NORMAL_DATA 100172
250
+ #endif
251
+ #ifndef GLU_NURBS_NORMAL_DATA_EXT
252
+ #define GLU_NURBS_NORMAL_DATA_EXT 100172
253
+ #endif
254
+ #ifndef GLU_NURBS_NORMAL_EXT
255
+ #define GLU_NURBS_NORMAL_EXT 100166
256
+ #endif
257
+ #ifndef GLU_NURBS_RENDERER
258
+ #define GLU_NURBS_RENDERER 100162
259
+ #endif
260
+ #ifndef GLU_NURBS_RENDERER_EXT
261
+ #define GLU_NURBS_RENDERER_EXT 100162
262
+ #endif
263
+ #ifndef GLU_NURBS_TESSELLATOR
264
+ #define GLU_NURBS_TESSELLATOR 100161
265
+ #endif
266
+ #ifndef GLU_NURBS_TESSELLATOR_EXT
267
+ #define GLU_NURBS_TESSELLATOR_EXT 100161
268
+ #endif
269
+ #ifndef GLU_NURBS_TEXTURE_COORD
270
+ #define GLU_NURBS_TEXTURE_COORD 100168
271
+ #endif
272
+ #ifndef GLU_NURBS_TEXTURE_COORD_DATA
273
+ #define GLU_NURBS_TEXTURE_COORD_DATA 100174
274
+ #endif
275
+ #ifndef GLU_NURBS_TEXTURE_COORD_DATA_EXT
276
+ #define GLU_NURBS_TEXTURE_COORD_DATA_EXT 100174
277
+ #endif
278
+ #ifndef GLU_NURBS_TEXTURE_COORD_EXT
279
+ #define GLU_NURBS_TEXTURE_COORD_EXT 100168
280
+ #endif
281
+ #ifndef GLU_NURBS_VERTEX
282
+ #define GLU_NURBS_VERTEX 100165
283
+ #endif
284
+ #ifndef GLU_NURBS_VERTEX_DATA
285
+ #define GLU_NURBS_VERTEX_DATA 100171
286
+ #endif
287
+ #ifndef GLU_NURBS_VERTEX_DATA_EXT
288
+ #define GLU_NURBS_VERTEX_DATA_EXT 100171
289
+ #endif
290
+ #ifndef GLU_NURBS_VERTEX_EXT
291
+ #define GLU_NURBS_VERTEX_EXT 100165
292
+ #endif
293
+ #ifndef GLU_OBJECT_PARAMETRIC_ERROR
294
+ #define GLU_OBJECT_PARAMETRIC_ERROR 100208
295
+ #endif
296
+ #ifndef GLU_OBJECT_PARAMETRIC_ERROR_EXT
297
+ #define GLU_OBJECT_PARAMETRIC_ERROR_EXT 100208
298
+ #endif
299
+ #ifndef GLU_OBJECT_PATH_LENGTH
300
+ #define GLU_OBJECT_PATH_LENGTH 100209
301
+ #endif
302
+ #ifndef GLU_OBJECT_PATH_LENGTH_EXT
303
+ #define GLU_OBJECT_PATH_LENGTH_EXT 100209
304
+ #endif
305
+ #ifndef GLU_OUTLINE_PATCH
306
+ #define GLU_OUTLINE_PATCH 100241
307
+ #endif
308
+ #ifndef GLU_OUTLINE_POLYGON
309
+ #define GLU_OUTLINE_POLYGON 100240
310
+ #endif
311
+ #ifndef GLU_OUTSIDE
312
+ #define GLU_OUTSIDE 100020
313
+ #endif
314
+ #ifndef GLU_OUT_OF_MEMORY
315
+ #define GLU_OUT_OF_MEMORY 100902
316
+ #endif
317
+ #ifndef GLU_PARAMETRIC_ERROR
318
+ #define GLU_PARAMETRIC_ERROR 100216
319
+ #endif
320
+ #ifndef GLU_PARAMETRIC_TOLERANCE
321
+ #define GLU_PARAMETRIC_TOLERANCE 100202
322
+ #endif
323
+ #ifndef GLU_PATH_LENGTH
324
+ #define GLU_PATH_LENGTH 100215
325
+ #endif
326
+ #ifndef GLU_POINT
327
+ #define GLU_POINT 100010
328
+ #endif
329
+ #ifndef GLU_SAMPLING_METHOD
330
+ #define GLU_SAMPLING_METHOD 100205
331
+ #endif
332
+ #ifndef GLU_SAMPLING_TOLERANCE
333
+ #define GLU_SAMPLING_TOLERANCE 100203
334
+ #endif
335
+ #ifndef GLU_SILHOUETTE
336
+ #define GLU_SILHOUETTE 100013
337
+ #endif
338
+ #ifndef GLU_SMOOTH
339
+ #define GLU_SMOOTH 100000
340
+ #endif
341
+ #ifndef GLU_TESS_BEGIN
342
+ #define GLU_TESS_BEGIN 100100
343
+ #endif
344
+ #ifndef GLU_TESS_BEGIN_DATA
345
+ #define GLU_TESS_BEGIN_DATA 100106
346
+ #endif
347
+ #ifndef GLU_TESS_BOUNDARY_ONLY
348
+ #define GLU_TESS_BOUNDARY_ONLY 100141
349
+ #endif
350
+ #ifndef GLU_TESS_COMBINE
351
+ #define GLU_TESS_COMBINE 100105
352
+ #endif
353
+ #ifndef GLU_TESS_COMBINE_DATA
354
+ #define GLU_TESS_COMBINE_DATA 100111
355
+ #endif
356
+ #ifndef GLU_TESS_COORD_TOO_LARGE
357
+ #define GLU_TESS_COORD_TOO_LARGE 100155
358
+ #endif
359
+ #ifndef GLU_TESS_EDGE_FLAG
360
+ #define GLU_TESS_EDGE_FLAG 100104
361
+ #endif
362
+ #ifndef GLU_TESS_EDGE_FLAG_DATA
363
+ #define GLU_TESS_EDGE_FLAG_DATA 100110
364
+ #endif
365
+ #ifndef GLU_TESS_END
366
+ #define GLU_TESS_END 100102
367
+ #endif
368
+ #ifndef GLU_TESS_END_DATA
369
+ #define GLU_TESS_END_DATA 100108
370
+ #endif
371
+ #ifndef GLU_TESS_ERROR
372
+ #define GLU_TESS_ERROR 100103
373
+ #endif
374
+ #ifndef GLU_TESS_ERROR1
375
+ #define GLU_TESS_ERROR1 100151
376
+ #endif
377
+ #ifndef GLU_TESS_ERROR2
378
+ #define GLU_TESS_ERROR2 100152
379
+ #endif
380
+ #ifndef GLU_TESS_ERROR3
381
+ #define GLU_TESS_ERROR3 100153
382
+ #endif
383
+ #ifndef GLU_TESS_ERROR4
384
+ #define GLU_TESS_ERROR4 100154
385
+ #endif
386
+ #ifndef GLU_TESS_ERROR5
387
+ #define GLU_TESS_ERROR5 100155
388
+ #endif
389
+ #ifndef GLU_TESS_ERROR6
390
+ #define GLU_TESS_ERROR6 100156
391
+ #endif
392
+ #ifndef GLU_TESS_ERROR7
393
+ #define GLU_TESS_ERROR7 100157
394
+ #endif
395
+ #ifndef GLU_TESS_ERROR8
396
+ #define GLU_TESS_ERROR8 100158
397
+ #endif
398
+ #ifndef GLU_TESS_ERROR_DATA
399
+ #define GLU_TESS_ERROR_DATA 100109
400
+ #endif
401
+ #ifndef GLU_TESS_MISSING_BEGIN_CONTOUR
402
+ #define GLU_TESS_MISSING_BEGIN_CONTOUR 100152
403
+ #endif
404
+ #ifndef GLU_TESS_MISSING_BEGIN_POLYGON
405
+ #define GLU_TESS_MISSING_BEGIN_POLYGON 100151
406
+ #endif
407
+ #ifndef GLU_TESS_MISSING_END_CONTOUR
408
+ #define GLU_TESS_MISSING_END_CONTOUR 100154
409
+ #endif
410
+ #ifndef GLU_TESS_MISSING_END_POLYGON
411
+ #define GLU_TESS_MISSING_END_POLYGON 100153
412
+ #endif
413
+ #ifndef GLU_TESS_NEED_COMBINE_CALLBACK
414
+ #define GLU_TESS_NEED_COMBINE_CALLBACK 100156
415
+ #endif
416
+ #ifndef GLU_TESS_TOLERANCE
417
+ #define GLU_TESS_TOLERANCE 100142
418
+ #endif
419
+ #ifndef GLU_TESS_VERTEX
420
+ #define GLU_TESS_VERTEX 100101
421
+ #endif
422
+ #ifndef GLU_TESS_VERTEX_DATA
423
+ #define GLU_TESS_VERTEX_DATA 100107
424
+ #endif
425
+ #ifndef GLU_TESS_WINDING_ABS_GEQ_TWO
426
+ #define GLU_TESS_WINDING_ABS_GEQ_TWO 100134
427
+ #endif
428
+ #ifndef GLU_TESS_WINDING_NEGATIVE
429
+ #define GLU_TESS_WINDING_NEGATIVE 100133
430
+ #endif
431
+ #ifndef GLU_TESS_WINDING_NONZERO
432
+ #define GLU_TESS_WINDING_NONZERO 100131
433
+ #endif
434
+ #ifndef GLU_TESS_WINDING_ODD
435
+ #define GLU_TESS_WINDING_ODD 100130
436
+ #endif
437
+ #ifndef GLU_TESS_WINDING_POSITIVE
438
+ #define GLU_TESS_WINDING_POSITIVE 100132
439
+ #endif
440
+ #ifndef GLU_TESS_WINDING_RULE
441
+ #define GLU_TESS_WINDING_RULE 100140
442
+ #endif
443
+ #ifndef GLU_TRUE
444
+ #define GLU_TRUE 1
445
+ #endif
446
+ #ifndef GLU_UNKNOWN
447
+ #define GLU_UNKNOWN 100124
448
+ #endif
449
+ #ifndef GLU_U_STEP
450
+ #define GLU_U_STEP 100206
451
+ #endif
452
+ #ifndef GLU_VERSION
453
+ #define GLU_VERSION 100800
454
+ #endif
455
+ #ifndef GLU_VERSION_1_1
456
+ #define GLU_VERSION_1_1 1
457
+ #endif
458
+ #ifndef GLU_VERSION_1_2
459
+ #define GLU_VERSION_1_2 1
460
+ #endif
461
+ #ifndef GLU_VERSION_1_3
462
+ #define GLU_VERSION_1_3 1
463
+ #endif
464
+ #ifndef GLU_VERTEX
465
+ #define GLU_VERTEX 100101
466
+ #endif
467
+ #ifndef GLU_V_STEP
468
+ #define GLU_V_STEP 100207
469
+ #endif