opengl 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +1 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +2 -1
- data/.travis.yml +19 -0
- data/History.rdoc +26 -0
- data/Manifest.txt +3 -23
- data/README.rdoc +43 -37
- data/Rakefile +6 -62
- data/examples/NeHe/nehe_lesson02.rb +3 -2
- data/examples/NeHe/nehe_lesson03.rb +3 -2
- data/examples/NeHe/nehe_lesson04.rb +3 -1
- data/examples/NeHe/nehe_lesson05.rb +4 -1
- data/examples/NeHe/nehe_lesson06.rb +9 -6
- data/examples/NeHe/nehe_lesson07.rb +9 -6
- data/examples/NeHe/nehe_lesson08.rb +9 -6
- data/examples/NeHe/nehe_lesson09.rb +10 -6
- data/examples/NeHe/nehe_lesson11.rb +9 -6
- data/examples/NeHe/nehe_lesson12.rb +9 -6
- data/examples/NeHe/nehe_lesson16.rb +50 -47
- data/examples/NeHe/nehe_lesson19.rb +10 -7
- data/examples/NeHe/nehe_lesson36.rb +234 -229
- data/examples/OrangeBook/brick.rb +227 -225
- data/examples/OrangeBook/particle.rb +233 -231
- data/examples/RedBook/aapoly.rb +71 -70
- data/examples/RedBook/aargb.rb +54 -52
- data/examples/RedBook/accanti.rb +96 -94
- data/examples/RedBook/accpersp.rb +106 -104
- data/examples/RedBook/alpha.rb +54 -52
- data/examples/RedBook/alpha3D.rb +90 -88
- data/examples/RedBook/bezcurve.rb +48 -46
- data/examples/RedBook/bezmesh.rb +71 -69
- data/examples/RedBook/checker.rb +57 -55
- data/examples/RedBook/clip.rb +41 -39
- data/examples/RedBook/colormat.rb +72 -70
- data/examples/RedBook/cube.rb +39 -37
- data/examples/RedBook/depthcue.rb +37 -35
- data/examples/RedBook/dof.rb +110 -109
- data/examples/RedBook/double.rb +40 -38
- data/examples/RedBook/drawf.rb +30 -28
- data/examples/RedBook/feedback.rb +79 -77
- data/examples/RedBook/fog.rb +90 -89
- data/examples/RedBook/font.rb +78 -76
- data/examples/RedBook/hello.rb +29 -27
- data/examples/RedBook/image.rb +57 -55
- data/examples/RedBook/jitter.rb +131 -131
- data/examples/RedBook/light.rb +2 -1
- data/examples/RedBook/lines.rb +70 -68
- data/examples/RedBook/list.rb +48 -46
- data/examples/RedBook/material.rb +200 -199
- data/examples/RedBook/mipmap.rb +84 -82
- data/examples/RedBook/model.rb +55 -53
- data/examples/RedBook/movelight.rb +52 -50
- data/examples/RedBook/pickdepth.rb +103 -101
- data/examples/RedBook/planet.rb +46 -44
- data/examples/RedBook/quadric.rb +97 -95
- data/examples/RedBook/robot.rb +55 -53
- data/examples/RedBook/select.rb +118 -116
- data/examples/RedBook/smooth.rb +35 -33
- data/examples/RedBook/stencil.rb +96 -94
- data/examples/RedBook/stroke.rb +75 -73
- data/examples/RedBook/surface.rb +93 -91
- data/examples/RedBook/teaambient.rb +71 -69
- data/examples/RedBook/teapots.rb +105 -103
- data/examples/RedBook/tess.rb +96 -94
- data/examples/RedBook/texbind.rb +79 -77
- data/examples/RedBook/texgen.rb +88 -86
- data/examples/RedBook/texturesurf.rb +57 -55
- data/examples/RedBook/varray.rb +85 -83
- data/examples/RedBook/wrap.rb +76 -74
- data/examples/misc/OGLBench.rb +114 -113
- data/examples/misc/anisotropic.rb +154 -152
- data/examples/misc/fbo_test.rb +37 -36
- data/examples/misc/font-glut.rb +47 -46
- data/examples/misc/glfwtest.rb +16 -16
- data/examples/misc/plane.rb +13 -13
- data/examples/misc/readpixel.rb +66 -65
- data/examples/misc/sdltest.rb +21 -19
- data/examples/misc/trislam.rb +548 -547
- data/ext/opengl/common.h +16 -38
- data/ext/opengl/conv.h +39 -41
- data/ext/opengl/extconf.rb +4 -31
- data/ext/opengl/funcdef.h +126 -124
- data/ext/opengl/gl-1.0-1.1.c +1917 -1917
- data/ext/opengl/gl-1.2.c +4 -667
- data/ext/opengl/gl-1.3.c +9 -9
- data/ext/opengl/gl-1.4.c +8 -8
- data/ext/opengl/gl-1.5.c +1 -1
- data/ext/opengl/gl-2.0.c +392 -388
- data/ext/opengl/gl-3.0.c +493 -0
- data/ext/opengl/gl-enums.c +1523 -5
- data/ext/opengl/gl-enums.h +4679 -122
- data/ext/opengl/gl-error.c +7 -7
- data/ext/opengl/gl-error.h +4 -4
- data/ext/opengl/gl-ext-arb.c +468 -464
- data/ext/opengl/gl-ext-ext.c +18 -18
- data/ext/opengl/gl-ext-nv.c +15 -15
- data/ext/opengl/gl.c +2 -0
- data/ext/opengl/gl_buffer.c +92 -92
- data/ext/opengl/opengl.c +1 -7
- data/lib/opengl.rb +23 -59
- data/lib/opengl/test_case.rb +1 -2
- data/test/dummy.xorg.conf +140 -0
- data/test/test_gl.rb +18 -22
- data/test/test_gl_10_11.rb +220 -220
- data/test/test_gl_12.rb +11 -122
- data/test/test_gl_13.rb +202 -210
- data/test/test_gl_14.rb +16 -19
- data/test/test_gl_15.rb +2 -4
- data/test/test_gl_20.rb +45 -58
- data/test/test_gl_21.rb +46 -163
- data/test/test_gl_ext_arb.rb +54 -72
- data/test/test_gl_ext_ati.rb +0 -2
- data/test/test_gl_ext_ext.rb +66 -66
- data/test/test_gl_ext_gremedy.rb +8 -15
- data/test/test_gl_ext_nv.rb +109 -112
- data/test/test_opengl_buffer.rb +8 -25
- data/utils/README +0 -5
- data/utils/enumgen.rb +72 -76
- data/utils/extlistgen.rb +55 -55
- metadata +87 -66
- metadata.gz.sig +2 -0
- data/Rakefile.cross +0 -107
- data/docs/build_install.txt +0 -119
- data/docs/extensions.txt.in +0 -348
- data/docs/history.txt +0 -66
- data/docs/requirements_and_design.txt +0 -117
- data/docs/roadmap.txt +0 -28
- data/docs/scientific_use.txt +0 -35
- data/docs/supplies/page_template.html +0 -71
- data/docs/thanks.txt +0 -29
- data/docs/tutorial.txt +0 -469
- data/ext/opengl/glu-enums.c +0 -164
- data/ext/opengl/glu-enums.h +0 -463
- data/ext/opengl/glu.c +0 -1534
- data/ext/opengl/glut.c +0 -1145
- data/ext/opengl/glut_callbacks.c +0 -845
- data/lib/glu.rb +0 -1
- data/lib/glut.rb +0 -1
- data/test/test_glu.rb +0 -309
- data/utils/mkdn2html.rb +0 -59
- data/utils/post-mkdn2html.rb +0 -91
- data/website/images/ogl.jpg +0 -0
- data/website/images/tab_bottom.gif +0 -0
- data/website/style.css +0 -198
data/website/images/ogl.jpg
DELETED
Binary file
|
Binary file
|
data/website/style.css
DELETED
@@ -1,198 +0,0 @@
|
|
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>" */
|