opengl 0.7.0.pre1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. data/.gemtest +0 -0
  2. data/.gitignore +8 -0
  3. data/History.txt +36 -0
  4. data/MIT-LICENSE +18 -0
  5. data/Manifest.txt +140 -0
  6. data/README.rdoc +51 -0
  7. data/Rakefile +129 -0
  8. data/Rakefile.cross +104 -0
  9. data/doc/build_install.txt +119 -0
  10. data/doc/extensions.txt.in +348 -0
  11. data/doc/history.txt +66 -0
  12. data/doc/requirements_and_design.txt +117 -0
  13. data/doc/roadmap.txt +28 -0
  14. data/doc/scientific_use.txt +35 -0
  15. data/doc/supplies/page_template.html +71 -0
  16. data/doc/thanks.txt +29 -0
  17. data/doc/tutorial.txt +469 -0
  18. data/examples/NeHe/nehe_lesson02.rb +117 -0
  19. data/examples/NeHe/nehe_lesson03.rb +122 -0
  20. data/examples/NeHe/nehe_lesson04.rb +133 -0
  21. data/examples/NeHe/nehe_lesson05.rb +186 -0
  22. data/examples/NeHe/nehe_lesson36.rb +303 -0
  23. data/examples/OrangeBook/3Dlabs-License.txt +33 -0
  24. data/examples/OrangeBook/brick.frag +36 -0
  25. data/examples/OrangeBook/brick.rb +376 -0
  26. data/examples/OrangeBook/brick.vert +41 -0
  27. data/examples/OrangeBook/particle.frag +17 -0
  28. data/examples/OrangeBook/particle.rb +406 -0
  29. data/examples/OrangeBook/particle.vert +38 -0
  30. data/examples/README +16 -0
  31. data/examples/RedBook/aapoly.rb +142 -0
  32. data/examples/RedBook/aargb.rb +119 -0
  33. data/examples/RedBook/accanti.rb +162 -0
  34. data/examples/RedBook/accpersp.rb +215 -0
  35. data/examples/RedBook/alpha.rb +123 -0
  36. data/examples/RedBook/alpha3D.rb +158 -0
  37. data/examples/RedBook/bezcurve.rb +105 -0
  38. data/examples/RedBook/bezmesh.rb +137 -0
  39. data/examples/RedBook/checker.rb +124 -0
  40. data/examples/RedBook/clip.rb +95 -0
  41. data/examples/RedBook/colormat.rb +135 -0
  42. data/examples/RedBook/cube.rb +69 -0
  43. data/examples/RedBook/depthcue.rb +99 -0
  44. data/examples/RedBook/dof.rb +205 -0
  45. data/examples/RedBook/double.rb +105 -0
  46. data/examples/RedBook/drawf.rb +91 -0
  47. data/examples/RedBook/feedback.rb +145 -0
  48. data/examples/RedBook/fog.rb +167 -0
  49. data/examples/RedBook/font.rb +151 -0
  50. data/examples/RedBook/hello.rb +79 -0
  51. data/examples/RedBook/image.rb +137 -0
  52. data/examples/RedBook/jitter.rb +207 -0
  53. data/examples/RedBook/lines.rb +128 -0
  54. data/examples/RedBook/list.rb +111 -0
  55. data/examples/RedBook/material.rb +275 -0
  56. data/examples/RedBook/mipmap.rb +156 -0
  57. data/examples/RedBook/model.rb +113 -0
  58. data/examples/RedBook/movelight.rb +132 -0
  59. data/examples/RedBook/pickdepth.rb +179 -0
  60. data/examples/RedBook/planet.rb +108 -0
  61. data/examples/RedBook/quadric.rb +158 -0
  62. data/examples/RedBook/robot.rb +115 -0
  63. data/examples/RedBook/select.rb +196 -0
  64. data/examples/RedBook/smooth.rb +95 -0
  65. data/examples/RedBook/stencil.rb +163 -0
  66. data/examples/RedBook/stroke.rb +167 -0
  67. data/examples/RedBook/surface.rb +166 -0
  68. data/examples/RedBook/teaambient.rb +132 -0
  69. data/examples/RedBook/teapots.rb +182 -0
  70. data/examples/RedBook/tess.rb +183 -0
  71. data/examples/RedBook/texbind.rb +147 -0
  72. data/examples/RedBook/texgen.rb +169 -0
  73. data/examples/RedBook/texturesurf.rb +128 -0
  74. data/examples/RedBook/varray.rb +159 -0
  75. data/examples/RedBook/wrap.rb +148 -0
  76. data/examples/misc/OGLBench.rb +337 -0
  77. data/examples/misc/anisotropic.rb +194 -0
  78. data/examples/misc/fbo_test.rb +356 -0
  79. data/examples/misc/font-glut.rb +46 -0
  80. data/examples/misc/glfwtest.rb +30 -0
  81. data/examples/misc/plane.rb +161 -0
  82. data/examples/misc/readpixel.rb +65 -0
  83. data/examples/misc/sdltest.rb +34 -0
  84. data/examples/misc/trislam.rb +828 -0
  85. data/ext/common/common.h +448 -0
  86. data/ext/common/conv.h +234 -0
  87. data/ext/common/funcdef.h +280 -0
  88. data/ext/common/gl-enums.h +10031 -0
  89. data/ext/common/gl-error.h +23 -0
  90. data/ext/common/gl-types.h +67 -0
  91. data/ext/common/glu-enums.h +463 -0
  92. data/ext/gl/extconf.rb +43 -0
  93. data/ext/gl/gl-1.0-1.1.c +2811 -0
  94. data/ext/gl/gl-1.2.c +814 -0
  95. data/ext/gl/gl-1.3.c +443 -0
  96. data/ext/gl/gl-1.4.c +348 -0
  97. data/ext/gl/gl-1.5.c +225 -0
  98. data/ext/gl/gl-2.0.c +657 -0
  99. data/ext/gl/gl-2.1.c +57 -0
  100. data/ext/gl/gl-enums.c +3354 -0
  101. data/ext/gl/gl-error.c +104 -0
  102. data/ext/gl/gl-ext-3dfx.c +27 -0
  103. data/ext/gl/gl-ext-arb.c +866 -0
  104. data/ext/gl/gl-ext-ati.c +41 -0
  105. data/ext/gl/gl-ext-ext.c +889 -0
  106. data/ext/gl/gl-ext-gremedy.c +41 -0
  107. data/ext/gl/gl-ext-nv.c +679 -0
  108. data/ext/gl/gl.c +216 -0
  109. data/ext/glu/extconf.rb +51 -0
  110. data/ext/glu/glu-enums.c +164 -0
  111. data/ext/glu/glu.c +1530 -0
  112. data/ext/glut/extconf.rb +67 -0
  113. data/ext/glut/glut.c +1624 -0
  114. data/lib/opengl.rb +89 -0
  115. data/test/README +10 -0
  116. data/test/tc_common.rb +98 -0
  117. data/test/tc_ext_arb.rb +467 -0
  118. data/test/tc_ext_ati.rb +33 -0
  119. data/test/tc_ext_ext.rb +551 -0
  120. data/test/tc_ext_gremedy.rb +36 -0
  121. data/test/tc_ext_nv.rb +357 -0
  122. data/test/tc_func_10_11.rb +1281 -0
  123. data/test/tc_func_12.rb +186 -0
  124. data/test/tc_func_13.rb +229 -0
  125. data/test/tc_func_14.rb +197 -0
  126. data/test/tc_func_15.rb +270 -0
  127. data/test/tc_func_20.rb +346 -0
  128. data/test/tc_func_21.rb +541 -0
  129. data/test/tc_glu.rb +310 -0
  130. data/test/tc_include_gl.rb +35 -0
  131. data/test/tc_misc.rb +54 -0
  132. data/test/tc_require_gl.rb +34 -0
  133. data/utils/README +11 -0
  134. data/utils/enumgen.rb +112 -0
  135. data/utils/extlistgen.rb +90 -0
  136. data/utils/mkdn2html.rb +59 -0
  137. data/utils/post-mkdn2html.rb +91 -0
  138. data/website/images/ogl.jpg +0 -0
  139. data/website/images/tab_bottom.gif +0 -0
  140. data/website/style.css +198 -0
  141. metadata +274 -0
@@ -0,0 +1,23 @@
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
+ void gl_init_error(VALUE);
17
+
18
+ extern VALUE error_checking;
19
+ extern VALUE inside_begin_end;
20
+
21
+ void check_for_glerror(void);
22
+
23
+ #define CHECK_GLERROR if (error_checking==Qtrue && inside_begin_end==Qfalse) check_for_glerror();
@@ -0,0 +1,67 @@
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
+ #if HAVE_STDINT_H
20
+ #include <stdint.h>
21
+ #endif
22
+
23
+ #ifndef HAVE_TYPE_INT64_T
24
+ typedef __int64 int64_t;
25
+ #endif
26
+ #ifndef HAVE_TYPE_UINT64_T
27
+ typedef unsigned __int64 uint64_t;
28
+ #endif
29
+
30
+ #if HAVE_INTTYPES_H
31
+ #include <inttypes.h>
32
+ #endif
33
+
34
+ /* GL base */
35
+ #ifndef GL_VERSION_1_5
36
+ typedef ptrdiff_t GLintptr;
37
+ typedef ptrdiff_t GLsizeiptr;
38
+ #endif
39
+
40
+ #ifndef GL_VERSION_2_0
41
+ typedef char GLchar;
42
+ #endif
43
+
44
+ /* new GL types introduced by ARB extensions */
45
+ #ifndef GL_ARB_half_float_pixel
46
+ typedef unsigned short GLhalfARB;
47
+ #endif
48
+
49
+ #ifndef GL_ARB_shader_objects
50
+ typedef char GLcharARB;
51
+ typedef unsigned int GLhandleARB;
52
+ #endif
53
+
54
+ #ifndef GL_ARB_vertex_buffer_object
55
+ typedef ptrdiff_t GLintptrARB;
56
+ typedef ptrdiff_t GLsizeiptrARB;
57
+ #endif
58
+
59
+ /* new GL types introduced by other extensions */
60
+ #ifndef GL_NV_half_float
61
+ typedef unsigned short GLhalfNV;
62
+ #endif
63
+
64
+ #ifndef GL_EXT_timer_query
65
+ typedef int64_t GLint64EXT;
66
+ typedef uint64_t GLuint64EXT;
67
+ #endif
@@ -0,0 +1,463 @@
1
+ /* This file was genereated on Mon Feb 16 18:08:57 +0100 2009
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_FILL
48
+ #define GLU_FILL 100012
49
+ #endif
50
+ #ifndef GLU_FLAT
51
+ #define GLU_FLAT 100001
52
+ #endif
53
+ #ifndef GLU_INSIDE
54
+ #define GLU_INSIDE 100021
55
+ #endif
56
+ #ifndef GLU_INTERIOR
57
+ #define GLU_INTERIOR 100122
58
+ #endif
59
+ #ifndef GLU_INVALID_ENUM
60
+ #define GLU_INVALID_ENUM 100900
61
+ #endif
62
+ #ifndef GLU_INVALID_OPERATION
63
+ #define GLU_INVALID_OPERATION 100904
64
+ #endif
65
+ #ifndef GLU_INVALID_VALUE
66
+ #define GLU_INVALID_VALUE 100901
67
+ #endif
68
+ #ifndef GLU_LAGRANGIAN_SGI
69
+ #define GLU_LAGRANGIAN_SGI 100300
70
+ #endif
71
+ #ifndef GLU_LINE
72
+ #define GLU_LINE 100011
73
+ #endif
74
+ #ifndef GLU_MAP1_TRIM_2
75
+ #define GLU_MAP1_TRIM_2 100210
76
+ #endif
77
+ #ifndef GLU_MAP1_TRIM_3
78
+ #define GLU_MAP1_TRIM_3 100211
79
+ #endif
80
+ #ifndef GLU_MITCHELL_NETRAVALI_SGI
81
+ #define GLU_MITCHELL_NETRAVALI_SGI 100301
82
+ #endif
83
+ #ifndef GLU_NONE
84
+ #define GLU_NONE 100002
85
+ #endif
86
+ #ifndef GLU_NURBS_BEGIN
87
+ #define GLU_NURBS_BEGIN 100164
88
+ #endif
89
+ #ifndef GLU_NURBS_BEGIN_DATA
90
+ #define GLU_NURBS_BEGIN_DATA 100170
91
+ #endif
92
+ #ifndef GLU_NURBS_BEGIN_DATA_EXT
93
+ #define GLU_NURBS_BEGIN_DATA_EXT 100170
94
+ #endif
95
+ #ifndef GLU_NURBS_BEGIN_EXT
96
+ #define GLU_NURBS_BEGIN_EXT 100164
97
+ #endif
98
+ #ifndef GLU_NURBS_COLOR
99
+ #define GLU_NURBS_COLOR 100167
100
+ #endif
101
+ #ifndef GLU_NURBS_COLOR_DATA
102
+ #define GLU_NURBS_COLOR_DATA 100173
103
+ #endif
104
+ #ifndef GLU_NURBS_COLOR_DATA_EXT
105
+ #define GLU_NURBS_COLOR_DATA_EXT 100173
106
+ #endif
107
+ #ifndef GLU_NURBS_COLOR_EXT
108
+ #define GLU_NURBS_COLOR_EXT 100167
109
+ #endif
110
+ #ifndef GLU_NURBS_END
111
+ #define GLU_NURBS_END 100169
112
+ #endif
113
+ #ifndef GLU_NURBS_END_DATA
114
+ #define GLU_NURBS_END_DATA 100175
115
+ #endif
116
+ #ifndef GLU_NURBS_END_DATA_EXT
117
+ #define GLU_NURBS_END_DATA_EXT 100175
118
+ #endif
119
+ #ifndef GLU_NURBS_END_EXT
120
+ #define GLU_NURBS_END_EXT 100169
121
+ #endif
122
+ #ifndef GLU_NURBS_ERROR
123
+ #define GLU_NURBS_ERROR 100103
124
+ #endif
125
+ #ifndef GLU_NURBS_ERROR1
126
+ #define GLU_NURBS_ERROR1 100251
127
+ #endif
128
+ #ifndef GLU_NURBS_ERROR10
129
+ #define GLU_NURBS_ERROR10 100260
130
+ #endif
131
+ #ifndef GLU_NURBS_ERROR11
132
+ #define GLU_NURBS_ERROR11 100261
133
+ #endif
134
+ #ifndef GLU_NURBS_ERROR12
135
+ #define GLU_NURBS_ERROR12 100262
136
+ #endif
137
+ #ifndef GLU_NURBS_ERROR13
138
+ #define GLU_NURBS_ERROR13 100263
139
+ #endif
140
+ #ifndef GLU_NURBS_ERROR14
141
+ #define GLU_NURBS_ERROR14 100264
142
+ #endif
143
+ #ifndef GLU_NURBS_ERROR15
144
+ #define GLU_NURBS_ERROR15 100265
145
+ #endif
146
+ #ifndef GLU_NURBS_ERROR16
147
+ #define GLU_NURBS_ERROR16 100266
148
+ #endif
149
+ #ifndef GLU_NURBS_ERROR17
150
+ #define GLU_NURBS_ERROR17 100267
151
+ #endif
152
+ #ifndef GLU_NURBS_ERROR18
153
+ #define GLU_NURBS_ERROR18 100268
154
+ #endif
155
+ #ifndef GLU_NURBS_ERROR19
156
+ #define GLU_NURBS_ERROR19 100269
157
+ #endif
158
+ #ifndef GLU_NURBS_ERROR2
159
+ #define GLU_NURBS_ERROR2 100252
160
+ #endif
161
+ #ifndef GLU_NURBS_ERROR20
162
+ #define GLU_NURBS_ERROR20 100270
163
+ #endif
164
+ #ifndef GLU_NURBS_ERROR21
165
+ #define GLU_NURBS_ERROR21 100271
166
+ #endif
167
+ #ifndef GLU_NURBS_ERROR22
168
+ #define GLU_NURBS_ERROR22 100272
169
+ #endif
170
+ #ifndef GLU_NURBS_ERROR23
171
+ #define GLU_NURBS_ERROR23 100273
172
+ #endif
173
+ #ifndef GLU_NURBS_ERROR24
174
+ #define GLU_NURBS_ERROR24 100274
175
+ #endif
176
+ #ifndef GLU_NURBS_ERROR25
177
+ #define GLU_NURBS_ERROR25 100275
178
+ #endif
179
+ #ifndef GLU_NURBS_ERROR26
180
+ #define GLU_NURBS_ERROR26 100276
181
+ #endif
182
+ #ifndef GLU_NURBS_ERROR27
183
+ #define GLU_NURBS_ERROR27 100277
184
+ #endif
185
+ #ifndef GLU_NURBS_ERROR28
186
+ #define GLU_NURBS_ERROR28 100278
187
+ #endif
188
+ #ifndef GLU_NURBS_ERROR29
189
+ #define GLU_NURBS_ERROR29 100279
190
+ #endif
191
+ #ifndef GLU_NURBS_ERROR3
192
+ #define GLU_NURBS_ERROR3 100253
193
+ #endif
194
+ #ifndef GLU_NURBS_ERROR30
195
+ #define GLU_NURBS_ERROR30 100280
196
+ #endif
197
+ #ifndef GLU_NURBS_ERROR31
198
+ #define GLU_NURBS_ERROR31 100281
199
+ #endif
200
+ #ifndef GLU_NURBS_ERROR32
201
+ #define GLU_NURBS_ERROR32 100282
202
+ #endif
203
+ #ifndef GLU_NURBS_ERROR33
204
+ #define GLU_NURBS_ERROR33 100283
205
+ #endif
206
+ #ifndef GLU_NURBS_ERROR34
207
+ #define GLU_NURBS_ERROR34 100284
208
+ #endif
209
+ #ifndef GLU_NURBS_ERROR35
210
+ #define GLU_NURBS_ERROR35 100285
211
+ #endif
212
+ #ifndef GLU_NURBS_ERROR36
213
+ #define GLU_NURBS_ERROR36 100286
214
+ #endif
215
+ #ifndef GLU_NURBS_ERROR37
216
+ #define GLU_NURBS_ERROR37 100287
217
+ #endif
218
+ #ifndef GLU_NURBS_ERROR4
219
+ #define GLU_NURBS_ERROR4 100254
220
+ #endif
221
+ #ifndef GLU_NURBS_ERROR5
222
+ #define GLU_NURBS_ERROR5 100255
223
+ #endif
224
+ #ifndef GLU_NURBS_ERROR6
225
+ #define GLU_NURBS_ERROR6 100256
226
+ #endif
227
+ #ifndef GLU_NURBS_ERROR7
228
+ #define GLU_NURBS_ERROR7 100257
229
+ #endif
230
+ #ifndef GLU_NURBS_ERROR8
231
+ #define GLU_NURBS_ERROR8 100258
232
+ #endif
233
+ #ifndef GLU_NURBS_ERROR9
234
+ #define GLU_NURBS_ERROR9 100259
235
+ #endif
236
+ #ifndef GLU_NURBS_MODE
237
+ #define GLU_NURBS_MODE 100160
238
+ #endif
239
+ #ifndef GLU_NURBS_MODE_EXT
240
+ #define GLU_NURBS_MODE_EXT 100160
241
+ #endif
242
+ #ifndef GLU_NURBS_NORMAL
243
+ #define GLU_NURBS_NORMAL 100166
244
+ #endif
245
+ #ifndef GLU_NURBS_NORMAL_DATA
246
+ #define GLU_NURBS_NORMAL_DATA 100172
247
+ #endif
248
+ #ifndef GLU_NURBS_NORMAL_DATA_EXT
249
+ #define GLU_NURBS_NORMAL_DATA_EXT 100172
250
+ #endif
251
+ #ifndef GLU_NURBS_NORMAL_EXT
252
+ #define GLU_NURBS_NORMAL_EXT 100166
253
+ #endif
254
+ #ifndef GLU_NURBS_RENDERER
255
+ #define GLU_NURBS_RENDERER 100162
256
+ #endif
257
+ #ifndef GLU_NURBS_RENDERER_EXT
258
+ #define GLU_NURBS_RENDERER_EXT 100162
259
+ #endif
260
+ #ifndef GLU_NURBS_TESSELLATOR
261
+ #define GLU_NURBS_TESSELLATOR 100161
262
+ #endif
263
+ #ifndef GLU_NURBS_TESSELLATOR_EXT
264
+ #define GLU_NURBS_TESSELLATOR_EXT 100161
265
+ #endif
266
+ #ifndef GLU_NURBS_TEXTURE_COORD
267
+ #define GLU_NURBS_TEXTURE_COORD 100168
268
+ #endif
269
+ #ifndef GLU_NURBS_TEXTURE_COORD_DATA
270
+ #define GLU_NURBS_TEXTURE_COORD_DATA 100174
271
+ #endif
272
+ #ifndef GLU_NURBS_TEXTURE_COORD_DATA_EXT
273
+ #define GLU_NURBS_TEXTURE_COORD_DATA_EXT 100174
274
+ #endif
275
+ #ifndef GLU_NURBS_TEXTURE_COORD_EXT
276
+ #define GLU_NURBS_TEXTURE_COORD_EXT 100168
277
+ #endif
278
+ #ifndef GLU_NURBS_VERTEX
279
+ #define GLU_NURBS_VERTEX 100165
280
+ #endif
281
+ #ifndef GLU_NURBS_VERTEX_DATA
282
+ #define GLU_NURBS_VERTEX_DATA 100171
283
+ #endif
284
+ #ifndef GLU_NURBS_VERTEX_DATA_EXT
285
+ #define GLU_NURBS_VERTEX_DATA_EXT 100171
286
+ #endif
287
+ #ifndef GLU_NURBS_VERTEX_EXT
288
+ #define GLU_NURBS_VERTEX_EXT 100165
289
+ #endif
290
+ #ifndef GLU_OBJECT_PARAMETRIC_ERROR
291
+ #define GLU_OBJECT_PARAMETRIC_ERROR 100208
292
+ #endif
293
+ #ifndef GLU_OBJECT_PARAMETRIC_ERROR_EXT
294
+ #define GLU_OBJECT_PARAMETRIC_ERROR_EXT 100208
295
+ #endif
296
+ #ifndef GLU_OBJECT_PATH_LENGTH
297
+ #define GLU_OBJECT_PATH_LENGTH 100209
298
+ #endif
299
+ #ifndef GLU_OBJECT_PATH_LENGTH_EXT
300
+ #define GLU_OBJECT_PATH_LENGTH_EXT 100209
301
+ #endif
302
+ #ifndef GLU_OUTLINE_PATCH
303
+ #define GLU_OUTLINE_PATCH 100241
304
+ #endif
305
+ #ifndef GLU_OUTLINE_POLYGON
306
+ #define GLU_OUTLINE_POLYGON 100240
307
+ #endif
308
+ #ifndef GLU_OUTSIDE
309
+ #define GLU_OUTSIDE 100020
310
+ #endif
311
+ #ifndef GLU_OUT_OF_MEMORY
312
+ #define GLU_OUT_OF_MEMORY 100902
313
+ #endif
314
+ #ifndef GLU_PARAMETRIC_ERROR
315
+ #define GLU_PARAMETRIC_ERROR 100216
316
+ #endif
317
+ #ifndef GLU_PARAMETRIC_TOLERANCE
318
+ #define GLU_PARAMETRIC_TOLERANCE 100202
319
+ #endif
320
+ #ifndef GLU_PATH_LENGTH
321
+ #define GLU_PATH_LENGTH 100215
322
+ #endif
323
+ #ifndef GLU_POINT
324
+ #define GLU_POINT 100010
325
+ #endif
326
+ #ifndef GLU_SAMPLING_METHOD
327
+ #define GLU_SAMPLING_METHOD 100205
328
+ #endif
329
+ #ifndef GLU_SAMPLING_TOLERANCE
330
+ #define GLU_SAMPLING_TOLERANCE 100203
331
+ #endif
332
+ #ifndef GLU_SILHOUETTE
333
+ #define GLU_SILHOUETTE 100013
334
+ #endif
335
+ #ifndef GLU_SMOOTH
336
+ #define GLU_SMOOTH 100000
337
+ #endif
338
+ #ifndef GLU_TESS_BEGIN
339
+ #define GLU_TESS_BEGIN 100100
340
+ #endif
341
+ #ifndef GLU_TESS_BEGIN_DATA
342
+ #define GLU_TESS_BEGIN_DATA 100106
343
+ #endif
344
+ #ifndef GLU_TESS_BOUNDARY_ONLY
345
+ #define GLU_TESS_BOUNDARY_ONLY 100141
346
+ #endif
347
+ #ifndef GLU_TESS_COMBINE
348
+ #define GLU_TESS_COMBINE 100105
349
+ #endif
350
+ #ifndef GLU_TESS_COMBINE_DATA
351
+ #define GLU_TESS_COMBINE_DATA 100111
352
+ #endif
353
+ #ifndef GLU_TESS_COORD_TOO_LARGE
354
+ #define GLU_TESS_COORD_TOO_LARGE 100155
355
+ #endif
356
+ #ifndef GLU_TESS_EDGE_FLAG
357
+ #define GLU_TESS_EDGE_FLAG 100104
358
+ #endif
359
+ #ifndef GLU_TESS_EDGE_FLAG_DATA
360
+ #define GLU_TESS_EDGE_FLAG_DATA 100110
361
+ #endif
362
+ #ifndef GLU_TESS_END
363
+ #define GLU_TESS_END 100102
364
+ #endif
365
+ #ifndef GLU_TESS_END_DATA
366
+ #define GLU_TESS_END_DATA 100108
367
+ #endif
368
+ #ifndef GLU_TESS_ERROR
369
+ #define GLU_TESS_ERROR 100103
370
+ #endif
371
+ #ifndef GLU_TESS_ERROR1
372
+ #define GLU_TESS_ERROR1 100151
373
+ #endif
374
+ #ifndef GLU_TESS_ERROR2
375
+ #define GLU_TESS_ERROR2 100152
376
+ #endif
377
+ #ifndef GLU_TESS_ERROR3
378
+ #define GLU_TESS_ERROR3 100153
379
+ #endif
380
+ #ifndef GLU_TESS_ERROR4
381
+ #define GLU_TESS_ERROR4 100154
382
+ #endif
383
+ #ifndef GLU_TESS_ERROR5
384
+ #define GLU_TESS_ERROR5 100155
385
+ #endif
386
+ #ifndef GLU_TESS_ERROR6
387
+ #define GLU_TESS_ERROR6 100156
388
+ #endif
389
+ #ifndef GLU_TESS_ERROR7
390
+ #define GLU_TESS_ERROR7 100157
391
+ #endif
392
+ #ifndef GLU_TESS_ERROR8
393
+ #define GLU_TESS_ERROR8 100158
394
+ #endif
395
+ #ifndef GLU_TESS_ERROR_DATA
396
+ #define GLU_TESS_ERROR_DATA 100109
397
+ #endif
398
+ #ifndef GLU_TESS_MISSING_BEGIN_CONTOUR
399
+ #define GLU_TESS_MISSING_BEGIN_CONTOUR 100152
400
+ #endif
401
+ #ifndef GLU_TESS_MISSING_BEGIN_POLYGON
402
+ #define GLU_TESS_MISSING_BEGIN_POLYGON 100151
403
+ #endif
404
+ #ifndef GLU_TESS_MISSING_END_CONTOUR
405
+ #define GLU_TESS_MISSING_END_CONTOUR 100154
406
+ #endif
407
+ #ifndef GLU_TESS_MISSING_END_POLYGON
408
+ #define GLU_TESS_MISSING_END_POLYGON 100153
409
+ #endif
410
+ #ifndef GLU_TESS_NEED_COMBINE_CALLBACK
411
+ #define GLU_TESS_NEED_COMBINE_CALLBACK 100156
412
+ #endif
413
+ #ifndef GLU_TESS_TOLERANCE
414
+ #define GLU_TESS_TOLERANCE 100142
415
+ #endif
416
+ #ifndef GLU_TESS_VERTEX
417
+ #define GLU_TESS_VERTEX 100101
418
+ #endif
419
+ #ifndef GLU_TESS_VERTEX_DATA
420
+ #define GLU_TESS_VERTEX_DATA 100107
421
+ #endif
422
+ #ifndef GLU_TESS_WINDING_ABS_GEQ_TWO
423
+ #define GLU_TESS_WINDING_ABS_GEQ_TWO 100134
424
+ #endif
425
+ #ifndef GLU_TESS_WINDING_NEGATIVE
426
+ #define GLU_TESS_WINDING_NEGATIVE 100133
427
+ #endif
428
+ #ifndef GLU_TESS_WINDING_NONZERO
429
+ #define GLU_TESS_WINDING_NONZERO 100131
430
+ #endif
431
+ #ifndef GLU_TESS_WINDING_ODD
432
+ #define GLU_TESS_WINDING_ODD 100130
433
+ #endif
434
+ #ifndef GLU_TESS_WINDING_POSITIVE
435
+ #define GLU_TESS_WINDING_POSITIVE 100132
436
+ #endif
437
+ #ifndef GLU_TESS_WINDING_RULE
438
+ #define GLU_TESS_WINDING_RULE 100140
439
+ #endif
440
+ #ifndef GLU_UNKNOWN
441
+ #define GLU_UNKNOWN 100124
442
+ #endif
443
+ #ifndef GLU_U_STEP
444
+ #define GLU_U_STEP 100206
445
+ #endif
446
+ #ifndef GLU_VERSION
447
+ #define GLU_VERSION 100800
448
+ #endif
449
+ #ifndef GLU_VERSION_1_1
450
+ #define GLU_VERSION_1_1 1
451
+ #endif
452
+ #ifndef GLU_VERSION_1_2
453
+ #define GLU_VERSION_1_2 1
454
+ #endif
455
+ #ifndef GLU_VERSION_1_3
456
+ #define GLU_VERSION_1_3 1
457
+ #endif
458
+ #ifndef GLU_VERTEX
459
+ #define GLU_VERTEX 100101
460
+ #endif
461
+ #ifndef GLU_V_STEP
462
+ #define GLU_V_STEP 100207
463
+ #endif