opengl 0.7.0.pre1

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 +270 -0
@@ -0,0 +1,90 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Copyright (C) 2007 Jan Dvorak <jan.dvorak@kraxnet.cz>
4
+ #
5
+ # This program is distributed under the terms of the MIT license.
6
+ # See the included MIT-LICENSE file for the terms of this license.
7
+ #
8
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
9
+ # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
10
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
11
+ # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
12
+ # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
13
+ # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
14
+ # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
+ #
16
+ # extlistgen.rb - generates HTML table of extension support from .in file
17
+
18
+ # main
19
+ require 'csv'
20
+
21
+ opengl_extdoc_url = "http://opengl.org/registry/specs/"
22
+
23
+ # the extension / doc url naming is sometimes inconsistent
24
+ link_exceptions = {
25
+ "GL_SGIX_texture_add_env" => "SGIX/texture_env_add.txt",
26
+ "GL_SUN_multi_draw_arrays" => "EXT/multi_draw_arrays.txt",
27
+ "GL_SGIX_pixel_texture" => "SGIX/sgix_pixel_texture.txt",
28
+ "GL_SGIS_fog_function" => "SGIS/fog_func.txt",
29
+ "GL_SGIX_vertex_preclip_hint" => "SGIX/vertex_preclip.txt"
30
+ }
31
+
32
+ begin
33
+ if ARGV.size < 3
34
+ puts "Parameters: infile outfile version [version ...]"
35
+ raise
36
+ end
37
+
38
+ infile,outfile,*versions = ARGV
39
+
40
+ # read the list
41
+ extensions = []
42
+ CSV.open(infile, 'r') do |row|
43
+ next if row[0][0] == ?# # discard comment line
44
+ extensions << row
45
+ end
46
+ extensions.sort!
47
+
48
+ # create output
49
+ File.open(outfile, 'w') do |f|
50
+ f << "<table class='extlist'>\n"
51
+ f << "<tr>\n"
52
+
53
+ # header
54
+ f << "<th>Extension</th>\n"
55
+ versions.each do |ver|
56
+ f << "<th>#{ver}</th>\n"
57
+ end
58
+ f << "</tr>\n"
59
+
60
+ # content
61
+ extensions.each do |ext|
62
+ next if ext[1]=="NonGL" # skip non-GL (WGL,GLX) extensions
63
+
64
+ if (link_exceptions[ext[0]])
65
+ link = opengl_extdoc_url + link_exceptions[ext[0]]
66
+ else
67
+ tmp, subdir, *fname = ext[0].split("_")
68
+ link = opengl_extdoc_url + subdir + "/" + fname.join("_") + ".txt"
69
+ end
70
+
71
+ f << "<tr>\n"
72
+ f << "<td><a href='#{link}'>#{ext[0]}</a></td>"
73
+
74
+ versions.each do |ver|
75
+ if (ext[1]=="Supported" && (ver>=ext[2]))
76
+ f << "<td class='supported'>YES</td>"
77
+ elsif (ext[1]=="Other")
78
+ f << "<td class='other'>NO</td>"
79
+ else # unsupported
80
+ f << "<td class='unsupported'>NO</td>"
81
+ end
82
+ end
83
+ f << "</tr>\n"
84
+ end
85
+
86
+ f << "</table>"
87
+ end
88
+ rescue
89
+ puts $!
90
+ end
@@ -0,0 +1,59 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Copyright (C) 2006 John M. Gabriele <jmg3000@gmail.com>
4
+ #
5
+ # This program is distributed under the terms of the MIT license.
6
+ # See the included MIT-LICENSE file for the terms of this license.
7
+ #
8
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
9
+ # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
10
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
11
+ # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
12
+ # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
13
+ # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
14
+ # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
+
16
+ # Don't use -w for now -- too many warning re. the BlueCloth module.
17
+
18
+ # Converts the named text file (containing plain text marked up with Markdown
19
+ # markup) into a corresponding html file. The user must specify both filenames.
20
+ # If the outfile already exists, it will be written over.
21
+
22
+ require 'rubygems'
23
+ require 'bluecloth'
24
+
25
+ if ARGV.size != 2
26
+ puts "Error: please pass exactly two args: the name of the file"
27
+ puts "you want converted to html, and the name of the file:"
28
+ puts "mkdn2html.rb infile.txt outfile.html"
29
+ exit 1
30
+ end
31
+
32
+ infile_name = ARGV[0]
33
+ outfile_name = ARGV[1]
34
+
35
+ # Strip the last filename extension so we can use the basename in the
36
+ # title of the page.
37
+ base_filename = File.basename( infile_name, ".*" )
38
+ puts "base_filename = #{base_filename}"
39
+ if base_filename == 'README'
40
+ base_filename = 'Home'
41
+ end
42
+ puts "base_filename = #{base_filename}"
43
+
44
+ raw_markdown_text = IO.read( infile_name )
45
+ bc = BlueCloth.new( raw_markdown_text )
46
+ html_content = bc.to_html
47
+
48
+ puts "outfile is #{File.expand_path( outfile_name )}"
49
+
50
+ template_content = IO.read( './doc/supplies/page_template.html' )
51
+ template_content.sub!( /\{\{content\}\}/, html_content )
52
+ template_content.sub!( /\{\{title\}\}/, base_filename )
53
+
54
+
55
+ File.open( outfile_name, 'w' ) do |file|
56
+ file.write template_content
57
+ end
58
+
59
+ puts "Done creating plain #{base_filename} html file."
@@ -0,0 +1,91 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Copyright (C) 2006 John M. Gabriele <jmg3000@gmail.com>
4
+ #
5
+ # This program is distributed under the terms of the MIT license.
6
+ # See the included MIT-LICENSE file for the terms of this license.
7
+ #
8
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
9
+ # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
10
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
11
+ # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
12
+ # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
13
+ # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
14
+ # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
+
16
+
17
+ # This script will modify the contents of the first html file you
18
+ # pass it, and save the modifications in the 2nd file.
19
+ #
20
+ # What it does:
21
+ #
22
+ # It looks in the first file for patterns like this:
23
+ #
24
+ # <pre><code>{{name}}\nstuff</code></pre>
25
+ #
26
+ # and replaces "stuff" with "stuff" processed to include color syntax
27
+ # highlighting, assuming it is code written in language "name".
28
+ #
29
+ # Prerequisites:
30
+ # * This script expects that you have GNU source-highlight installed.
31
+
32
+ require 'cgi'
33
+
34
+ if ARGV.size != 2
35
+ puts "Please don't trifle with me."
36
+ exit 1
37
+ end
38
+
39
+ infile_name = ARGV[0]
40
+ outfile_name = ARGV[1]
41
+
42
+ # Open the file, slurp the whole thing into one long string.
43
+ infile_content = IO.read( infile_name )
44
+ outfile_content = infile_content.clone
45
+ temp_content = infile_content.clone
46
+
47
+ # Make sure we find all of them -- there could be more than 1 in
48
+ # the given file. XXX (Just finding the first one here.)
49
+
50
+ snippet_num = 0
51
+
52
+ while true
53
+ # If we get a match, process that snippet.
54
+ if outfile_content =~ %r{<pre><code>\{\{(\w+)\}\}\n(.+?)</code></pre>}m
55
+ pre_stuff = $`
56
+ language = $1
57
+ code_to_convert = $2
58
+ post_stuff = $'
59
+
60
+ # BlueCloth already escapes html tags, so this is to avoid
61
+ # double escaping by source-highlight
62
+ # - Jan
63
+ code_to_convert = CGI::unescapeHTML(code_to_convert)
64
+
65
+ # Quick usage note on source-highlight:
66
+ #
67
+ # source-highlight -s ruby -i $filename -o $filename
68
+ #
69
+ # where, if you omit -o filename, output goes to stdout.
70
+
71
+ base_name = File.basename( outfile_name, '.*' )
72
+ File.open( "doc/#{base_name}_#{snippet_num}.snip", 'w' ) do |file|
73
+ file.write code_to_convert
74
+ end
75
+
76
+ highlighted_code =
77
+ `source-highlight -s #{language} -i doc/#{base_name}_#{snippet_num}.snip -f html`
78
+
79
+ temp_content = pre_stuff + highlighted_code + post_stuff
80
+ snippet_num += 1
81
+ outfile_content = temp_content.clone
82
+ else
83
+ break
84
+ end
85
+ end
86
+
87
+ File.open( outfile_name, 'w' ) do |file|
88
+ file.write outfile_content
89
+ end
90
+
91
+ puts "Done syntax highlighting #{snippet_num} snippets for #{infile_name}. Wrote #{outfile_name}."
Binary file
@@ -0,0 +1,198 @@
1
+ /* CSS Document
2
+ Template Title: Uncomplicated
3
+ Author: J David Macor
4
+ URL: http://www.jdavidmacor.com
5
+
6
+ Note, John M. Gabriele darkened it a bit.
7
+ */
8
+
9
+ /* Main Body */
10
+ body {
11
+ font-family: verdana, sans-serif;
12
+ font-size: 11px;
13
+ background: #d3e3d3;
14
+ }
15
+
16
+ #container {
17
+ width: 760px;
18
+ padding: 30px;
19
+ padding-bottom: 5px;
20
+ border: 1px solid #ccc;
21
+ background: #e8e8e8;
22
+ margin: 0 auto;
23
+ }
24
+
25
+ /* Header */
26
+ #header {
27
+ width: 500px;
28
+ border-left: 4px solid #ccc;
29
+ border-right: 4px solid #ccc;
30
+ margin: 0 auto;
31
+ margin-bottom: 20px;
32
+ font-family: Geneva, Arial, Helvetica, sans-serif;
33
+ font-size: 36px;
34
+ letter-spacing: 0.4em;
35
+ text-align: center;
36
+ }
37
+
38
+ /* Navigation */
39
+ #tabnav {
40
+ height: 20px;
41
+ margin: 0;
42
+ padding-left: 10px;
43
+ background: url(images/tab_bottom.gif) repeat-x bottom;
44
+ }
45
+
46
+ #tabnav li {
47
+ margin: 0;
48
+ padding: 0;
49
+ display: inline;
50
+ list-style-type: none;
51
+ }
52
+
53
+ #tabnav a:link, #tabnav a:visited {
54
+ float: left;
55
+ background: #f3f3f3;
56
+ font-size: 10px;
57
+ line-height: 14px;
58
+ font-weight: bold;
59
+ padding: 2px 10px 2px 10px;
60
+ margin-right: 4px;
61
+ border: 1px solid #ccc;
62
+ text-decoration: none;
63
+ color: #666;
64
+ }
65
+
66
+ #tabnav a:link.active, #tabnav a:visited.active {
67
+ border-bottom: 1px solid #fff;
68
+ background: #fff;
69
+ color: #000;
70
+ }
71
+
72
+ #tabnav a:hover {
73
+ background: #fff;
74
+ }
75
+
76
+ /* Main Content */
77
+ #content {
78
+ width: 550px;
79
+ margin-top: 15px;
80
+ }
81
+
82
+ #content h2 {
83
+ font-size: 20px;
84
+ }
85
+
86
+ #content p {
87
+ font-size: 12px;
88
+ }
89
+
90
+ #content a, a:visited {
91
+ color: #666666;
92
+ text-decoration: underline;
93
+ }
94
+
95
+ #content a:hover {
96
+ color: #000000;
97
+ }
98
+
99
+ /* Sidebar */
100
+ #sidebar {
101
+ width: 190px;
102
+ float: right;
103
+ clear: none;
104
+ margin-top: 15px;
105
+ }
106
+
107
+ #sidebar h3 {
108
+ border-bottom: 1px solid #ccc;
109
+ font-size: 14px;
110
+ }
111
+
112
+ #sidebar ul {
113
+ font-size: 12px;
114
+ }
115
+
116
+ #sidebar a, a:visited {
117
+ color: #666666;
118
+ text-decoration: underline;
119
+ }
120
+
121
+ #sidebar a:hover {
122
+ color: #000000;
123
+ }
124
+
125
+ /* footer */
126
+ #footer {
127
+ color: #666;
128
+ text-align: center;
129
+ border-top: 1px solid #ccc;
130
+ size: 11px;
131
+ margin-top: 30px;
132
+ margin-bottom: 0;
133
+ }
134
+
135
+ #footer a, a:visited {
136
+ color: #666666;
137
+ text-decoration: underline;
138
+ }
139
+
140
+ #footer a:hover {
141
+ color: #000000;
142
+ }
143
+
144
+ pre{
145
+ width: 100%;
146
+ overflow: auto;
147
+ border: 1px solid #CCC;
148
+ background: #EEE;
149
+ }
150
+
151
+ .extlist{
152
+ text-align: left;
153
+ font-weight: normal;
154
+ color: #404040;
155
+ background-color: #fafafa;
156
+ border: 1px #666666 solid;
157
+ border-collapse: collapse;
158
+ border-spacing: 1px;
159
+ }
160
+
161
+ .extlist th{
162
+ text-align: center;
163
+ border-bottom: 1px solid #666666;
164
+ border-left: 1px solid #666666;
165
+ background-color: #dddddd;
166
+ font-weight: bold;
167
+ color: #404040;
168
+ }
169
+
170
+ .extlist td,.extlist td.supported,.extlist td.unsupported,.extlist td.other{
171
+ border: 1px solid #666666;
172
+ text-align: center;
173
+ text-indent: 1px;
174
+ color: #404040;
175
+ }
176
+
177
+ .extlist td {
178
+ text-align: left;
179
+ }
180
+
181
+ .extlist td.supported {
182
+ background-color: #33ff33;
183
+ }
184
+
185
+ .extlist td.unsupported {
186
+ /* background-color: #ff3333; */
187
+ background-color: #cccccc;
188
+ }
189
+
190
+ .extlist td.other {
191
+ background-color: #cccccc;
192
+ }
193
+
194
+ /* f << "<td class='supported'>YES</td>"
195
+ elsif (ext[1]=="Other")
196
+ f << "<td class='other'>NO</td>"
197
+ else # unsupported
198
+ f << "<td class='unsupported'>NO</td>" */
metadata ADDED
@@ -0,0 +1,270 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: opengl
3
+ version: !ruby/object:Gem::Version
4
+ hash: 1923832027
5
+ prerelease: 6
6
+ segments:
7
+ - 0
8
+ - 7
9
+ - 0
10
+ - pre
11
+ - 1
12
+ version: 0.7.0.pre1
13
+ platform: ruby
14
+ authors:
15
+ - Alain Hoang
16
+ - Jan Dvorak
17
+ - Minh Thu Vo
18
+ - James Adam
19
+ autorequire:
20
+ bindir: bin
21
+ cert_chain: []
22
+
23
+ date: 2012-01-31 00:00:00 Z
24
+ dependencies:
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake-compiler
27
+ prerelease: false
28
+ requirement: &id001 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ hash: 27
34
+ segments:
35
+ - 0
36
+ - 8
37
+ version: "0.8"
38
+ type: :development
39
+ version_requirements: *id001
40
+ - !ruby/object:Gem::Dependency
41
+ name: hoe
42
+ prerelease: false
43
+ requirement: &id002 !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ~>
47
+ - !ruby/object:Gem::Version
48
+ hash: 27
49
+ segments:
50
+ - 2
51
+ - 12
52
+ version: "2.12"
53
+ type: :development
54
+ version_requirements: *id002
55
+ - !ruby/object:Gem::Dependency
56
+ name: rdoc
57
+ prerelease: false
58
+ requirement: &id003 !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ~>
62
+ - !ruby/object:Gem::Version
63
+ hash: 19
64
+ segments:
65
+ - 3
66
+ - 10
67
+ version: "3.10"
68
+ type: :development
69
+ version_requirements: *id003
70
+ description: |-
71
+ Ruby-OpenGL consists of Ruby extension modules that are bindings for
72
+ the OpenGL, GLU, and GLUT libraries.
73
+ email: ruby-opengl-devel@rubyforge.org
74
+ executables: []
75
+
76
+ extensions:
77
+ - ext/gl/extconf.rb
78
+ - ext/glu/extconf.rb
79
+ - ext/glut/extconf.rb
80
+ extra_rdoc_files:
81
+ - History.txt
82
+ - Manifest.txt
83
+ - doc/build_install.txt
84
+ - doc/history.txt
85
+ - doc/requirements_and_design.txt
86
+ - doc/roadmap.txt
87
+ - doc/scientific_use.txt
88
+ - doc/thanks.txt
89
+ - doc/tutorial.txt
90
+ - examples/OrangeBook/3Dlabs-License.txt
91
+ - README.rdoc
92
+ files:
93
+ - .gemtest
94
+ - .gitignore
95
+ - History.txt
96
+ - MIT-LICENSE
97
+ - Manifest.txt
98
+ - README.rdoc
99
+ - Rakefile
100
+ - Rakefile.cross
101
+ - doc/build_install.txt
102
+ - doc/extensions.txt.in
103
+ - doc/history.txt
104
+ - doc/requirements_and_design.txt
105
+ - doc/roadmap.txt
106
+ - doc/scientific_use.txt
107
+ - doc/supplies/page_template.html
108
+ - doc/thanks.txt
109
+ - doc/tutorial.txt
110
+ - examples/NeHe/nehe_lesson02.rb
111
+ - examples/NeHe/nehe_lesson03.rb
112
+ - examples/NeHe/nehe_lesson04.rb
113
+ - examples/NeHe/nehe_lesson05.rb
114
+ - examples/NeHe/nehe_lesson36.rb
115
+ - examples/OrangeBook/3Dlabs-License.txt
116
+ - examples/OrangeBook/brick.frag
117
+ - examples/OrangeBook/brick.rb
118
+ - examples/OrangeBook/brick.vert
119
+ - examples/OrangeBook/particle.frag
120
+ - examples/OrangeBook/particle.rb
121
+ - examples/OrangeBook/particle.vert
122
+ - examples/README
123
+ - examples/RedBook/aapoly.rb
124
+ - examples/RedBook/aargb.rb
125
+ - examples/RedBook/accanti.rb
126
+ - examples/RedBook/accpersp.rb
127
+ - examples/RedBook/alpha.rb
128
+ - examples/RedBook/alpha3D.rb
129
+ - examples/RedBook/bezcurve.rb
130
+ - examples/RedBook/bezmesh.rb
131
+ - examples/RedBook/checker.rb
132
+ - examples/RedBook/clip.rb
133
+ - examples/RedBook/colormat.rb
134
+ - examples/RedBook/cube.rb
135
+ - examples/RedBook/depthcue.rb
136
+ - examples/RedBook/dof.rb
137
+ - examples/RedBook/double.rb
138
+ - examples/RedBook/drawf.rb
139
+ - examples/RedBook/feedback.rb
140
+ - examples/RedBook/fog.rb
141
+ - examples/RedBook/font.rb
142
+ - examples/RedBook/hello.rb
143
+ - examples/RedBook/image.rb
144
+ - examples/RedBook/jitter.rb
145
+ - examples/RedBook/lines.rb
146
+ - examples/RedBook/list.rb
147
+ - examples/RedBook/material.rb
148
+ - examples/RedBook/mipmap.rb
149
+ - examples/RedBook/model.rb
150
+ - examples/RedBook/movelight.rb
151
+ - examples/RedBook/pickdepth.rb
152
+ - examples/RedBook/planet.rb
153
+ - examples/RedBook/quadric.rb
154
+ - examples/RedBook/robot.rb
155
+ - examples/RedBook/select.rb
156
+ - examples/RedBook/smooth.rb
157
+ - examples/RedBook/stencil.rb
158
+ - examples/RedBook/stroke.rb
159
+ - examples/RedBook/surface.rb
160
+ - examples/RedBook/teaambient.rb
161
+ - examples/RedBook/teapots.rb
162
+ - examples/RedBook/tess.rb
163
+ - examples/RedBook/texbind.rb
164
+ - examples/RedBook/texgen.rb
165
+ - examples/RedBook/texturesurf.rb
166
+ - examples/RedBook/varray.rb
167
+ - examples/RedBook/wrap.rb
168
+ - examples/misc/OGLBench.rb
169
+ - examples/misc/anisotropic.rb
170
+ - examples/misc/fbo_test.rb
171
+ - examples/misc/font-glut.rb
172
+ - examples/misc/glfwtest.rb
173
+ - examples/misc/plane.rb
174
+ - examples/misc/readpixel.rb
175
+ - examples/misc/sdltest.rb
176
+ - examples/misc/trislam.rb
177
+ - ext/common/common.h
178
+ - ext/common/conv.h
179
+ - ext/common/funcdef.h
180
+ - ext/common/gl-enums.h
181
+ - ext/common/gl-error.h
182
+ - ext/common/gl-types.h
183
+ - ext/common/glu-enums.h
184
+ - ext/gl/extconf.rb
185
+ - ext/gl/gl-1.0-1.1.c
186
+ - ext/gl/gl-1.2.c
187
+ - ext/gl/gl-1.3.c
188
+ - ext/gl/gl-1.4.c
189
+ - ext/gl/gl-1.5.c
190
+ - ext/gl/gl-2.0.c
191
+ - ext/gl/gl-2.1.c
192
+ - ext/gl/gl-enums.c
193
+ - ext/gl/gl-error.c
194
+ - ext/gl/gl-ext-3dfx.c
195
+ - ext/gl/gl-ext-arb.c
196
+ - ext/gl/gl-ext-ati.c
197
+ - ext/gl/gl-ext-ext.c
198
+ - ext/gl/gl-ext-gremedy.c
199
+ - ext/gl/gl-ext-nv.c
200
+ - ext/gl/gl.c
201
+ - ext/glu/extconf.rb
202
+ - ext/glu/glu-enums.c
203
+ - ext/glu/glu.c
204
+ - ext/glut/extconf.rb
205
+ - ext/glut/glut.c
206
+ - lib/opengl.rb
207
+ - test/README
208
+ - test/tc_common.rb
209
+ - test/tc_ext_arb.rb
210
+ - test/tc_ext_ati.rb
211
+ - test/tc_ext_ext.rb
212
+ - test/tc_ext_gremedy.rb
213
+ - test/tc_ext_nv.rb
214
+ - test/tc_func_10_11.rb
215
+ - test/tc_func_12.rb
216
+ - test/tc_func_13.rb
217
+ - test/tc_func_14.rb
218
+ - test/tc_func_15.rb
219
+ - test/tc_func_20.rb
220
+ - test/tc_func_21.rb
221
+ - test/tc_glu.rb
222
+ - test/tc_include_gl.rb
223
+ - test/tc_misc.rb
224
+ - test/tc_require_gl.rb
225
+ - utils/README
226
+ - utils/enumgen.rb
227
+ - utils/extlistgen.rb
228
+ - utils/mkdn2html.rb
229
+ - utils/post-mkdn2html.rb
230
+ - website/images/ogl.jpg
231
+ - website/images/tab_bottom.gif
232
+ - website/style.css
233
+ homepage: http://ruby-opengl.rubyforge.org
234
+ licenses: []
235
+
236
+ post_install_message:
237
+ rdoc_options:
238
+ - --main
239
+ - README.rdoc
240
+ require_paths:
241
+ - lib
242
+ required_ruby_version: !ruby/object:Gem::Requirement
243
+ none: false
244
+ requirements:
245
+ - - ">="
246
+ - !ruby/object:Gem::Version
247
+ hash: 3
248
+ segments:
249
+ - 0
250
+ version: "0"
251
+ required_rubygems_version: !ruby/object:Gem::Requirement
252
+ none: false
253
+ requirements:
254
+ - - ">"
255
+ - !ruby/object:Gem::Version
256
+ hash: 25
257
+ segments:
258
+ - 1
259
+ - 3
260
+ - 1
261
+ version: 1.3.1
262
+ requirements: []
263
+
264
+ rubyforge_project: ruby-opengl
265
+ rubygems_version: 1.8.11
266
+ signing_key:
267
+ specification_version: 3
268
+ summary: Ruby-OpenGL consists of Ruby extension modules that are bindings for the OpenGL, GLU, and GLUT libraries.
269
+ test_files: []
270
+