opengl 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +1 -0
  3. data.tar.gz.sig +0 -0
  4. data/.gitignore +2 -1
  5. data/.travis.yml +19 -0
  6. data/History.rdoc +26 -0
  7. data/Manifest.txt +3 -23
  8. data/README.rdoc +43 -37
  9. data/Rakefile +6 -62
  10. data/examples/NeHe/nehe_lesson02.rb +3 -2
  11. data/examples/NeHe/nehe_lesson03.rb +3 -2
  12. data/examples/NeHe/nehe_lesson04.rb +3 -1
  13. data/examples/NeHe/nehe_lesson05.rb +4 -1
  14. data/examples/NeHe/nehe_lesson06.rb +9 -6
  15. data/examples/NeHe/nehe_lesson07.rb +9 -6
  16. data/examples/NeHe/nehe_lesson08.rb +9 -6
  17. data/examples/NeHe/nehe_lesson09.rb +10 -6
  18. data/examples/NeHe/nehe_lesson11.rb +9 -6
  19. data/examples/NeHe/nehe_lesson12.rb +9 -6
  20. data/examples/NeHe/nehe_lesson16.rb +50 -47
  21. data/examples/NeHe/nehe_lesson19.rb +10 -7
  22. data/examples/NeHe/nehe_lesson36.rb +234 -229
  23. data/examples/OrangeBook/brick.rb +227 -225
  24. data/examples/OrangeBook/particle.rb +233 -231
  25. data/examples/RedBook/aapoly.rb +71 -70
  26. data/examples/RedBook/aargb.rb +54 -52
  27. data/examples/RedBook/accanti.rb +96 -94
  28. data/examples/RedBook/accpersp.rb +106 -104
  29. data/examples/RedBook/alpha.rb +54 -52
  30. data/examples/RedBook/alpha3D.rb +90 -88
  31. data/examples/RedBook/bezcurve.rb +48 -46
  32. data/examples/RedBook/bezmesh.rb +71 -69
  33. data/examples/RedBook/checker.rb +57 -55
  34. data/examples/RedBook/clip.rb +41 -39
  35. data/examples/RedBook/colormat.rb +72 -70
  36. data/examples/RedBook/cube.rb +39 -37
  37. data/examples/RedBook/depthcue.rb +37 -35
  38. data/examples/RedBook/dof.rb +110 -109
  39. data/examples/RedBook/double.rb +40 -38
  40. data/examples/RedBook/drawf.rb +30 -28
  41. data/examples/RedBook/feedback.rb +79 -77
  42. data/examples/RedBook/fog.rb +90 -89
  43. data/examples/RedBook/font.rb +78 -76
  44. data/examples/RedBook/hello.rb +29 -27
  45. data/examples/RedBook/image.rb +57 -55
  46. data/examples/RedBook/jitter.rb +131 -131
  47. data/examples/RedBook/light.rb +2 -1
  48. data/examples/RedBook/lines.rb +70 -68
  49. data/examples/RedBook/list.rb +48 -46
  50. data/examples/RedBook/material.rb +200 -199
  51. data/examples/RedBook/mipmap.rb +84 -82
  52. data/examples/RedBook/model.rb +55 -53
  53. data/examples/RedBook/movelight.rb +52 -50
  54. data/examples/RedBook/pickdepth.rb +103 -101
  55. data/examples/RedBook/planet.rb +46 -44
  56. data/examples/RedBook/quadric.rb +97 -95
  57. data/examples/RedBook/robot.rb +55 -53
  58. data/examples/RedBook/select.rb +118 -116
  59. data/examples/RedBook/smooth.rb +35 -33
  60. data/examples/RedBook/stencil.rb +96 -94
  61. data/examples/RedBook/stroke.rb +75 -73
  62. data/examples/RedBook/surface.rb +93 -91
  63. data/examples/RedBook/teaambient.rb +71 -69
  64. data/examples/RedBook/teapots.rb +105 -103
  65. data/examples/RedBook/tess.rb +96 -94
  66. data/examples/RedBook/texbind.rb +79 -77
  67. data/examples/RedBook/texgen.rb +88 -86
  68. data/examples/RedBook/texturesurf.rb +57 -55
  69. data/examples/RedBook/varray.rb +85 -83
  70. data/examples/RedBook/wrap.rb +76 -74
  71. data/examples/misc/OGLBench.rb +114 -113
  72. data/examples/misc/anisotropic.rb +154 -152
  73. data/examples/misc/fbo_test.rb +37 -36
  74. data/examples/misc/font-glut.rb +47 -46
  75. data/examples/misc/glfwtest.rb +16 -16
  76. data/examples/misc/plane.rb +13 -13
  77. data/examples/misc/readpixel.rb +66 -65
  78. data/examples/misc/sdltest.rb +21 -19
  79. data/examples/misc/trislam.rb +548 -547
  80. data/ext/opengl/common.h +16 -38
  81. data/ext/opengl/conv.h +39 -41
  82. data/ext/opengl/extconf.rb +4 -31
  83. data/ext/opengl/funcdef.h +126 -124
  84. data/ext/opengl/gl-1.0-1.1.c +1917 -1917
  85. data/ext/opengl/gl-1.2.c +4 -667
  86. data/ext/opengl/gl-1.3.c +9 -9
  87. data/ext/opengl/gl-1.4.c +8 -8
  88. data/ext/opengl/gl-1.5.c +1 -1
  89. data/ext/opengl/gl-2.0.c +392 -388
  90. data/ext/opengl/gl-3.0.c +493 -0
  91. data/ext/opengl/gl-enums.c +1523 -5
  92. data/ext/opengl/gl-enums.h +4679 -122
  93. data/ext/opengl/gl-error.c +7 -7
  94. data/ext/opengl/gl-error.h +4 -4
  95. data/ext/opengl/gl-ext-arb.c +468 -464
  96. data/ext/opengl/gl-ext-ext.c +18 -18
  97. data/ext/opengl/gl-ext-nv.c +15 -15
  98. data/ext/opengl/gl.c +2 -0
  99. data/ext/opengl/gl_buffer.c +92 -92
  100. data/ext/opengl/opengl.c +1 -7
  101. data/lib/opengl.rb +23 -59
  102. data/lib/opengl/test_case.rb +1 -2
  103. data/test/dummy.xorg.conf +140 -0
  104. data/test/test_gl.rb +18 -22
  105. data/test/test_gl_10_11.rb +220 -220
  106. data/test/test_gl_12.rb +11 -122
  107. data/test/test_gl_13.rb +202 -210
  108. data/test/test_gl_14.rb +16 -19
  109. data/test/test_gl_15.rb +2 -4
  110. data/test/test_gl_20.rb +45 -58
  111. data/test/test_gl_21.rb +46 -163
  112. data/test/test_gl_ext_arb.rb +54 -72
  113. data/test/test_gl_ext_ati.rb +0 -2
  114. data/test/test_gl_ext_ext.rb +66 -66
  115. data/test/test_gl_ext_gremedy.rb +8 -15
  116. data/test/test_gl_ext_nv.rb +109 -112
  117. data/test/test_opengl_buffer.rb +8 -25
  118. data/utils/README +0 -5
  119. data/utils/enumgen.rb +72 -76
  120. data/utils/extlistgen.rb +55 -55
  121. metadata +87 -66
  122. metadata.gz.sig +2 -0
  123. data/Rakefile.cross +0 -107
  124. data/docs/build_install.txt +0 -119
  125. data/docs/extensions.txt.in +0 -348
  126. data/docs/history.txt +0 -66
  127. data/docs/requirements_and_design.txt +0 -117
  128. data/docs/roadmap.txt +0 -28
  129. data/docs/scientific_use.txt +0 -35
  130. data/docs/supplies/page_template.html +0 -71
  131. data/docs/thanks.txt +0 -29
  132. data/docs/tutorial.txt +0 -469
  133. data/ext/opengl/glu-enums.c +0 -164
  134. data/ext/opengl/glu-enums.h +0 -463
  135. data/ext/opengl/glu.c +0 -1534
  136. data/ext/opengl/glut.c +0 -1145
  137. data/ext/opengl/glut_callbacks.c +0 -845
  138. data/lib/glu.rb +0 -1
  139. data/lib/glut.rb +0 -1
  140. data/test/test_glu.rb +0 -309
  141. data/utils/mkdn2html.rb +0 -59
  142. data/utils/post-mkdn2html.rb +0 -91
  143. data/website/images/ogl.jpg +0 -0
  144. data/website/images/tab_bottom.gif +0 -0
  145. data/website/style.css +0 -198
@@ -1,164 +0,0 @@
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
- #include "common.h"
6
- void glu_init_enums(VALUE module)
7
- {
8
- rb_define_const(module, "GLU_TRUE", Qtrue);
9
- rb_define_const(module, "GLU_FALSE", Qfalse);
10
-
11
- rb_define_const(module, "GLU_AUTO_LOAD_MATRIX", INT2NUM(GLU_AUTO_LOAD_MATRIX));
12
- rb_define_const(module, "GLU_BEGIN", INT2NUM(GLU_BEGIN));
13
- rb_define_const(module, "GLU_CCW", INT2NUM(GLU_CCW));
14
- rb_define_const(module, "GLU_CULLING", INT2NUM(GLU_CULLING));
15
- rb_define_const(module, "GLU_CW", INT2NUM(GLU_CW));
16
- rb_define_const(module, "GLU_DISPLAY_MODE", INT2NUM(GLU_DISPLAY_MODE));
17
- rb_define_const(module, "GLU_DOMAIN_DISTANCE", INT2NUM(GLU_DOMAIN_DISTANCE));
18
- rb_define_const(module, "GLU_EDGE_FLAG", INT2NUM(GLU_EDGE_FLAG));
19
- rb_define_const(module, "GLU_END", INT2NUM(GLU_END));
20
- rb_define_const(module, "GLU_ERROR", INT2NUM(GLU_ERROR));
21
- rb_define_const(module, "GLU_EXTENSIONS", INT2NUM(GLU_EXTENSIONS));
22
- rb_define_const(module, "GLU_EXTERIOR", INT2NUM(GLU_EXTERIOR));
23
- rb_define_const(module, "GLU_EXT_nurbs_tessellator", INT2NUM(GLU_EXT_nurbs_tessellator));
24
- rb_define_const(module, "GLU_EXT_object_space_tess", INT2NUM(GLU_EXT_object_space_tess));
25
- rb_define_const(module, "GLU_FILL", INT2NUM(GLU_FILL));
26
- rb_define_const(module, "GLU_FLAT", INT2NUM(GLU_FLAT));
27
- rb_define_const(module, "GLU_INSIDE", INT2NUM(GLU_INSIDE));
28
- rb_define_const(module, "GLU_INTERIOR", INT2NUM(GLU_INTERIOR));
29
- rb_define_const(module, "GLU_INVALID_ENUM", INT2NUM(GLU_INVALID_ENUM));
30
- rb_define_const(module, "GLU_INVALID_OPERATION", INT2NUM(GLU_INVALID_OPERATION));
31
- rb_define_const(module, "GLU_INVALID_VALUE", INT2NUM(GLU_INVALID_VALUE));
32
- rb_define_const(module, "GLU_LAGRANGIAN_SGI", INT2NUM(GLU_LAGRANGIAN_SGI));
33
- rb_define_const(module, "GLU_LINE", INT2NUM(GLU_LINE));
34
- rb_define_const(module, "GLU_MAP1_TRIM_2", INT2NUM(GLU_MAP1_TRIM_2));
35
- rb_define_const(module, "GLU_MAP1_TRIM_3", INT2NUM(GLU_MAP1_TRIM_3));
36
- rb_define_const(module, "GLU_MITCHELL_NETRAVALI_SGI", INT2NUM(GLU_MITCHELL_NETRAVALI_SGI));
37
- rb_define_const(module, "GLU_NONE", INT2NUM(GLU_NONE));
38
- rb_define_const(module, "GLU_NURBS_BEGIN", INT2NUM(GLU_NURBS_BEGIN));
39
- rb_define_const(module, "GLU_NURBS_BEGIN_DATA", INT2NUM(GLU_NURBS_BEGIN_DATA));
40
- rb_define_const(module, "GLU_NURBS_BEGIN_DATA_EXT", INT2NUM(GLU_NURBS_BEGIN_DATA_EXT));
41
- rb_define_const(module, "GLU_NURBS_BEGIN_EXT", INT2NUM(GLU_NURBS_BEGIN_EXT));
42
- rb_define_const(module, "GLU_NURBS_COLOR", INT2NUM(GLU_NURBS_COLOR));
43
- rb_define_const(module, "GLU_NURBS_COLOR_DATA", INT2NUM(GLU_NURBS_COLOR_DATA));
44
- rb_define_const(module, "GLU_NURBS_COLOR_DATA_EXT", INT2NUM(GLU_NURBS_COLOR_DATA_EXT));
45
- rb_define_const(module, "GLU_NURBS_COLOR_EXT", INT2NUM(GLU_NURBS_COLOR_EXT));
46
- rb_define_const(module, "GLU_NURBS_END", INT2NUM(GLU_NURBS_END));
47
- rb_define_const(module, "GLU_NURBS_END_DATA", INT2NUM(GLU_NURBS_END_DATA));
48
- rb_define_const(module, "GLU_NURBS_END_DATA_EXT", INT2NUM(GLU_NURBS_END_DATA_EXT));
49
- rb_define_const(module, "GLU_NURBS_END_EXT", INT2NUM(GLU_NURBS_END_EXT));
50
- rb_define_const(module, "GLU_NURBS_ERROR", INT2NUM(GLU_NURBS_ERROR));
51
- rb_define_const(module, "GLU_NURBS_ERROR1", INT2NUM(GLU_NURBS_ERROR1));
52
- rb_define_const(module, "GLU_NURBS_ERROR10", INT2NUM(GLU_NURBS_ERROR10));
53
- rb_define_const(module, "GLU_NURBS_ERROR11", INT2NUM(GLU_NURBS_ERROR11));
54
- rb_define_const(module, "GLU_NURBS_ERROR12", INT2NUM(GLU_NURBS_ERROR12));
55
- rb_define_const(module, "GLU_NURBS_ERROR13", INT2NUM(GLU_NURBS_ERROR13));
56
- rb_define_const(module, "GLU_NURBS_ERROR14", INT2NUM(GLU_NURBS_ERROR14));
57
- rb_define_const(module, "GLU_NURBS_ERROR15", INT2NUM(GLU_NURBS_ERROR15));
58
- rb_define_const(module, "GLU_NURBS_ERROR16", INT2NUM(GLU_NURBS_ERROR16));
59
- rb_define_const(module, "GLU_NURBS_ERROR17", INT2NUM(GLU_NURBS_ERROR17));
60
- rb_define_const(module, "GLU_NURBS_ERROR18", INT2NUM(GLU_NURBS_ERROR18));
61
- rb_define_const(module, "GLU_NURBS_ERROR19", INT2NUM(GLU_NURBS_ERROR19));
62
- rb_define_const(module, "GLU_NURBS_ERROR2", INT2NUM(GLU_NURBS_ERROR2));
63
- rb_define_const(module, "GLU_NURBS_ERROR20", INT2NUM(GLU_NURBS_ERROR20));
64
- rb_define_const(module, "GLU_NURBS_ERROR21", INT2NUM(GLU_NURBS_ERROR21));
65
- rb_define_const(module, "GLU_NURBS_ERROR22", INT2NUM(GLU_NURBS_ERROR22));
66
- rb_define_const(module, "GLU_NURBS_ERROR23", INT2NUM(GLU_NURBS_ERROR23));
67
- rb_define_const(module, "GLU_NURBS_ERROR24", INT2NUM(GLU_NURBS_ERROR24));
68
- rb_define_const(module, "GLU_NURBS_ERROR25", INT2NUM(GLU_NURBS_ERROR25));
69
- rb_define_const(module, "GLU_NURBS_ERROR26", INT2NUM(GLU_NURBS_ERROR26));
70
- rb_define_const(module, "GLU_NURBS_ERROR27", INT2NUM(GLU_NURBS_ERROR27));
71
- rb_define_const(module, "GLU_NURBS_ERROR28", INT2NUM(GLU_NURBS_ERROR28));
72
- rb_define_const(module, "GLU_NURBS_ERROR29", INT2NUM(GLU_NURBS_ERROR29));
73
- rb_define_const(module, "GLU_NURBS_ERROR3", INT2NUM(GLU_NURBS_ERROR3));
74
- rb_define_const(module, "GLU_NURBS_ERROR30", INT2NUM(GLU_NURBS_ERROR30));
75
- rb_define_const(module, "GLU_NURBS_ERROR31", INT2NUM(GLU_NURBS_ERROR31));
76
- rb_define_const(module, "GLU_NURBS_ERROR32", INT2NUM(GLU_NURBS_ERROR32));
77
- rb_define_const(module, "GLU_NURBS_ERROR33", INT2NUM(GLU_NURBS_ERROR33));
78
- rb_define_const(module, "GLU_NURBS_ERROR34", INT2NUM(GLU_NURBS_ERROR34));
79
- rb_define_const(module, "GLU_NURBS_ERROR35", INT2NUM(GLU_NURBS_ERROR35));
80
- rb_define_const(module, "GLU_NURBS_ERROR36", INT2NUM(GLU_NURBS_ERROR36));
81
- rb_define_const(module, "GLU_NURBS_ERROR37", INT2NUM(GLU_NURBS_ERROR37));
82
- rb_define_const(module, "GLU_NURBS_ERROR4", INT2NUM(GLU_NURBS_ERROR4));
83
- rb_define_const(module, "GLU_NURBS_ERROR5", INT2NUM(GLU_NURBS_ERROR5));
84
- rb_define_const(module, "GLU_NURBS_ERROR6", INT2NUM(GLU_NURBS_ERROR6));
85
- rb_define_const(module, "GLU_NURBS_ERROR7", INT2NUM(GLU_NURBS_ERROR7));
86
- rb_define_const(module, "GLU_NURBS_ERROR8", INT2NUM(GLU_NURBS_ERROR8));
87
- rb_define_const(module, "GLU_NURBS_ERROR9", INT2NUM(GLU_NURBS_ERROR9));
88
- rb_define_const(module, "GLU_NURBS_MODE", INT2NUM(GLU_NURBS_MODE));
89
- rb_define_const(module, "GLU_NURBS_MODE_EXT", INT2NUM(GLU_NURBS_MODE_EXT));
90
- rb_define_const(module, "GLU_NURBS_NORMAL", INT2NUM(GLU_NURBS_NORMAL));
91
- rb_define_const(module, "GLU_NURBS_NORMAL_DATA", INT2NUM(GLU_NURBS_NORMAL_DATA));
92
- rb_define_const(module, "GLU_NURBS_NORMAL_DATA_EXT", INT2NUM(GLU_NURBS_NORMAL_DATA_EXT));
93
- rb_define_const(module, "GLU_NURBS_NORMAL_EXT", INT2NUM(GLU_NURBS_NORMAL_EXT));
94
- rb_define_const(module, "GLU_NURBS_RENDERER", INT2NUM(GLU_NURBS_RENDERER));
95
- rb_define_const(module, "GLU_NURBS_RENDERER_EXT", INT2NUM(GLU_NURBS_RENDERER_EXT));
96
- rb_define_const(module, "GLU_NURBS_TESSELLATOR", INT2NUM(GLU_NURBS_TESSELLATOR));
97
- rb_define_const(module, "GLU_NURBS_TESSELLATOR_EXT", INT2NUM(GLU_NURBS_TESSELLATOR_EXT));
98
- rb_define_const(module, "GLU_NURBS_TEXTURE_COORD", INT2NUM(GLU_NURBS_TEXTURE_COORD));
99
- rb_define_const(module, "GLU_NURBS_TEXTURE_COORD_DATA", INT2NUM(GLU_NURBS_TEXTURE_COORD_DATA));
100
- rb_define_const(module, "GLU_NURBS_TEXTURE_COORD_DATA_EXT", INT2NUM(GLU_NURBS_TEXTURE_COORD_DATA_EXT));
101
- rb_define_const(module, "GLU_NURBS_TEXTURE_COORD_EXT", INT2NUM(GLU_NURBS_TEXTURE_COORD_EXT));
102
- rb_define_const(module, "GLU_NURBS_VERTEX", INT2NUM(GLU_NURBS_VERTEX));
103
- rb_define_const(module, "GLU_NURBS_VERTEX_DATA", INT2NUM(GLU_NURBS_VERTEX_DATA));
104
- rb_define_const(module, "GLU_NURBS_VERTEX_DATA_EXT", INT2NUM(GLU_NURBS_VERTEX_DATA_EXT));
105
- rb_define_const(module, "GLU_NURBS_VERTEX_EXT", INT2NUM(GLU_NURBS_VERTEX_EXT));
106
- rb_define_const(module, "GLU_OBJECT_PARAMETRIC_ERROR", INT2NUM(GLU_OBJECT_PARAMETRIC_ERROR));
107
- rb_define_const(module, "GLU_OBJECT_PARAMETRIC_ERROR_EXT", INT2NUM(GLU_OBJECT_PARAMETRIC_ERROR_EXT));
108
- rb_define_const(module, "GLU_OBJECT_PATH_LENGTH", INT2NUM(GLU_OBJECT_PATH_LENGTH));
109
- rb_define_const(module, "GLU_OBJECT_PATH_LENGTH_EXT", INT2NUM(GLU_OBJECT_PATH_LENGTH_EXT));
110
- rb_define_const(module, "GLU_OUTLINE_PATCH", INT2NUM(GLU_OUTLINE_PATCH));
111
- rb_define_const(module, "GLU_OUTLINE_POLYGON", INT2NUM(GLU_OUTLINE_POLYGON));
112
- rb_define_const(module, "GLU_OUTSIDE", INT2NUM(GLU_OUTSIDE));
113
- rb_define_const(module, "GLU_OUT_OF_MEMORY", INT2NUM(GLU_OUT_OF_MEMORY));
114
- rb_define_const(module, "GLU_PARAMETRIC_ERROR", INT2NUM(GLU_PARAMETRIC_ERROR));
115
- rb_define_const(module, "GLU_PARAMETRIC_TOLERANCE", INT2NUM(GLU_PARAMETRIC_TOLERANCE));
116
- rb_define_const(module, "GLU_PATH_LENGTH", INT2NUM(GLU_PATH_LENGTH));
117
- rb_define_const(module, "GLU_POINT", INT2NUM(GLU_POINT));
118
- rb_define_const(module, "GLU_SAMPLING_METHOD", INT2NUM(GLU_SAMPLING_METHOD));
119
- rb_define_const(module, "GLU_SAMPLING_TOLERANCE", INT2NUM(GLU_SAMPLING_TOLERANCE));
120
- rb_define_const(module, "GLU_SILHOUETTE", INT2NUM(GLU_SILHOUETTE));
121
- rb_define_const(module, "GLU_SMOOTH", INT2NUM(GLU_SMOOTH));
122
- rb_define_const(module, "GLU_TESS_BEGIN", INT2NUM(GLU_TESS_BEGIN));
123
- rb_define_const(module, "GLU_TESS_BEGIN_DATA", INT2NUM(GLU_TESS_BEGIN_DATA));
124
- rb_define_const(module, "GLU_TESS_BOUNDARY_ONLY", INT2NUM(GLU_TESS_BOUNDARY_ONLY));
125
- rb_define_const(module, "GLU_TESS_COMBINE", INT2NUM(GLU_TESS_COMBINE));
126
- rb_define_const(module, "GLU_TESS_COMBINE_DATA", INT2NUM(GLU_TESS_COMBINE_DATA));
127
- rb_define_const(module, "GLU_TESS_COORD_TOO_LARGE", INT2NUM(GLU_TESS_COORD_TOO_LARGE));
128
- rb_define_const(module, "GLU_TESS_EDGE_FLAG", INT2NUM(GLU_TESS_EDGE_FLAG));
129
- rb_define_const(module, "GLU_TESS_EDGE_FLAG_DATA", INT2NUM(GLU_TESS_EDGE_FLAG_DATA));
130
- rb_define_const(module, "GLU_TESS_END", INT2NUM(GLU_TESS_END));
131
- rb_define_const(module, "GLU_TESS_END_DATA", INT2NUM(GLU_TESS_END_DATA));
132
- rb_define_const(module, "GLU_TESS_ERROR", INT2NUM(GLU_TESS_ERROR));
133
- rb_define_const(module, "GLU_TESS_ERROR1", INT2NUM(GLU_TESS_ERROR1));
134
- rb_define_const(module, "GLU_TESS_ERROR2", INT2NUM(GLU_TESS_ERROR2));
135
- rb_define_const(module, "GLU_TESS_ERROR3", INT2NUM(GLU_TESS_ERROR3));
136
- rb_define_const(module, "GLU_TESS_ERROR4", INT2NUM(GLU_TESS_ERROR4));
137
- rb_define_const(module, "GLU_TESS_ERROR5", INT2NUM(GLU_TESS_ERROR5));
138
- rb_define_const(module, "GLU_TESS_ERROR6", INT2NUM(GLU_TESS_ERROR6));
139
- rb_define_const(module, "GLU_TESS_ERROR7", INT2NUM(GLU_TESS_ERROR7));
140
- rb_define_const(module, "GLU_TESS_ERROR8", INT2NUM(GLU_TESS_ERROR8));
141
- rb_define_const(module, "GLU_TESS_ERROR_DATA", INT2NUM(GLU_TESS_ERROR_DATA));
142
- rb_define_const(module, "GLU_TESS_MISSING_BEGIN_CONTOUR", INT2NUM(GLU_TESS_MISSING_BEGIN_CONTOUR));
143
- rb_define_const(module, "GLU_TESS_MISSING_BEGIN_POLYGON", INT2NUM(GLU_TESS_MISSING_BEGIN_POLYGON));
144
- rb_define_const(module, "GLU_TESS_MISSING_END_CONTOUR", INT2NUM(GLU_TESS_MISSING_END_CONTOUR));
145
- rb_define_const(module, "GLU_TESS_MISSING_END_POLYGON", INT2NUM(GLU_TESS_MISSING_END_POLYGON));
146
- rb_define_const(module, "GLU_TESS_NEED_COMBINE_CALLBACK", INT2NUM(GLU_TESS_NEED_COMBINE_CALLBACK));
147
- rb_define_const(module, "GLU_TESS_TOLERANCE", INT2NUM(GLU_TESS_TOLERANCE));
148
- rb_define_const(module, "GLU_TESS_VERTEX", INT2NUM(GLU_TESS_VERTEX));
149
- rb_define_const(module, "GLU_TESS_VERTEX_DATA", INT2NUM(GLU_TESS_VERTEX_DATA));
150
- rb_define_const(module, "GLU_TESS_WINDING_ABS_GEQ_TWO", INT2NUM(GLU_TESS_WINDING_ABS_GEQ_TWO));
151
- rb_define_const(module, "GLU_TESS_WINDING_NEGATIVE", INT2NUM(GLU_TESS_WINDING_NEGATIVE));
152
- rb_define_const(module, "GLU_TESS_WINDING_NONZERO", INT2NUM(GLU_TESS_WINDING_NONZERO));
153
- rb_define_const(module, "GLU_TESS_WINDING_ODD", INT2NUM(GLU_TESS_WINDING_ODD));
154
- rb_define_const(module, "GLU_TESS_WINDING_POSITIVE", INT2NUM(GLU_TESS_WINDING_POSITIVE));
155
- rb_define_const(module, "GLU_TESS_WINDING_RULE", INT2NUM(GLU_TESS_WINDING_RULE));
156
- rb_define_const(module, "GLU_UNKNOWN", INT2NUM(GLU_UNKNOWN));
157
- rb_define_const(module, "GLU_U_STEP", INT2NUM(GLU_U_STEP));
158
- rb_define_const(module, "GLU_VERSION", INT2NUM(GLU_VERSION));
159
- rb_define_const(module, "GLU_VERSION_1_1", INT2NUM(GLU_VERSION_1_1));
160
- rb_define_const(module, "GLU_VERSION_1_2", INT2NUM(GLU_VERSION_1_2));
161
- rb_define_const(module, "GLU_VERSION_1_3", INT2NUM(GLU_VERSION_1_3));
162
- rb_define_const(module, "GLU_VERTEX", INT2NUM(GLU_VERTEX));
163
- rb_define_const(module, "GLU_V_STEP", INT2NUM(GLU_V_STEP));
164
- }
@@ -1,463 +0,0 @@
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