ruby-opengl 0.60.0 → 0.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +10 -2
- data/doc/extensions.txt +556 -0
- data/examples/NeHe/nehe_lesson02.rb +0 -0
- data/examples/NeHe/nehe_lesson03.rb +0 -0
- data/examples/NeHe/nehe_lesson04.rb +0 -0
- data/examples/NeHe/nehe_lesson05.rb +0 -0
- data/examples/RedBook/aapoly.rb +0 -0
- data/examples/RedBook/aargb.rb +0 -0
- data/examples/RedBook/accanti.rb +0 -0
- data/examples/RedBook/accpersp.rb +0 -0
- data/examples/RedBook/alpha.rb +0 -0
- data/examples/RedBook/alpha3D.rb +0 -0
- data/examples/RedBook/bezcurve.rb +0 -0
- data/examples/RedBook/bezmesh.rb +0 -0
- data/examples/RedBook/checker.rb +0 -0
- data/examples/RedBook/clip.rb +0 -0
- data/examples/RedBook/colormat.rb +0 -0
- data/examples/RedBook/cube.rb +0 -0
- data/examples/RedBook/depthcue.rb +0 -0
- data/examples/RedBook/dof.rb +0 -0
- data/examples/RedBook/double.rb +0 -0
- data/examples/RedBook/drawf.rb +0 -0
- data/examples/RedBook/feedback.rb +0 -0
- data/examples/RedBook/fog.rb +0 -0
- data/examples/RedBook/font.rb +0 -0
- data/examples/RedBook/hello.rb +0 -0
- data/examples/RedBook/image.rb +0 -0
- data/examples/RedBook/jitter.rb +0 -0
- data/examples/RedBook/lines.rb +0 -0
- data/examples/RedBook/list.rb +0 -0
- data/examples/RedBook/material.rb +0 -0
- data/examples/RedBook/mipmap.rb +0 -0
- data/examples/RedBook/model.rb +0 -0
- data/examples/RedBook/movelight.rb +0 -0
- data/examples/RedBook/pickdepth.rb +0 -0
- data/examples/RedBook/planet.rb +0 -0
- data/examples/RedBook/quadric.rb +0 -0
- data/examples/RedBook/robot.rb +0 -0
- data/examples/RedBook/select.rb +0 -0
- data/examples/RedBook/smooth.rb +0 -0
- data/examples/RedBook/stencil.rb +0 -0
- data/examples/RedBook/stroke.rb +0 -0
- data/examples/RedBook/surface.rb +0 -0
- data/examples/RedBook/teaambient.rb +0 -0
- data/examples/RedBook/teapots.rb +0 -0
- data/examples/RedBook/tess.rb +0 -0
- data/examples/RedBook/texbind.rb +0 -0
- data/examples/RedBook/texgen.rb +0 -0
- data/examples/RedBook/texturesurf.rb +0 -0
- data/examples/RedBook/varray.rb +0 -0
- data/examples/RedBook/wrap.rb +0 -0
- data/examples/misc/font-glut.rb +0 -0
- data/examples/misc/readpixel.rb +0 -0
- data/ext/common/conv.h +3 -3
- data/ext/common/funcdef.h +2 -2
- data/ext/common/gl-enums.h +885 -9
- data/ext/common/glu-enums.h +1 -7
- data/ext/gl/gl-1.0-1.1.c +27 -27
- data/ext/gl/gl-1.3.c +5 -5
- data/ext/gl/gl-1.4.c +6 -6
- data/ext/gl/gl-2.0.c +1 -1
- data/ext/gl/gl-enums.c +295 -1
- data/ext/gl/gl-ext-arb.c +1 -1
- data/ext/gl/gl-ext-ati.c +1 -1
- data/ext/gl/gl-ext-ext.c +9 -9
- data/ext/gl/gl-ext-nv.c +4 -4
- data/ext/glu/glu-enums.c +2 -2
- data/ext/glu/glu.c +4 -4
- data/ext/glut/glut.c +6 -4
- data/test/tc_func_12.rb +5 -5
- metadata +148 -139
- data/examples/misc/md2model.rb +0 -15
data/ext/gl/gl-ext-arb.c
CHANGED
@@ -81,7 +81,7 @@ static VALUE gl_##_name_(VALUE obj,VALUE arg1) \
|
|
81
81
|
_type_ cary[_size_]; \
|
82
82
|
LOAD_GL_FUNC(gl##_name_,_ext_) \
|
83
83
|
Check_Type(arg1,T_ARRAY); \
|
84
|
-
if (
|
84
|
+
if (RARRAY_LEN(arg1) != _size_) \
|
85
85
|
rb_raise(rb_eArgError, "Incorrect array length - must have '%i' elements.",_size_); \
|
86
86
|
_conv_(arg1,cary,_size_); \
|
87
87
|
fptr_gl##_name_(cary); \
|
data/ext/gl/gl-ext-ati.c
CHANGED
@@ -25,7 +25,7 @@ static VALUE gl_DrawBuffersATI(VALUE obj,VALUE arg1)
|
|
25
25
|
GLenum *buffers;
|
26
26
|
LOAD_GL_FUNC(glDrawBuffersATI,"GL_ATI_draw_buffers")
|
27
27
|
Check_Type(arg1,T_ARRAY);
|
28
|
-
size =
|
28
|
+
size = RARRAY_LEN(arg1);
|
29
29
|
buffers = ALLOC_N(GLenum,size);
|
30
30
|
ary2cuint(arg1,buffers,size);
|
31
31
|
fptr_glDrawBuffersATI(size,buffers);
|
data/ext/gl/gl-ext-ext.c
CHANGED
@@ -41,7 +41,7 @@ VALUE obj,arg1,arg2;
|
|
41
41
|
LOAD_GL_FUNC(glPrioritizeTexturesEXT,"GL_EXT_texture_object")
|
42
42
|
Check_Type(arg1,T_ARRAY);
|
43
43
|
Check_Type(arg2,T_ARRAY);
|
44
|
-
if ((size =
|
44
|
+
if ((size = RARRAY_LEN(arg1)) != RARRAY_LEN(arg2))
|
45
45
|
rb_raise(rb_eArgError, "passed arrays must have the same length");
|
46
46
|
textures = ALLOC_N(GLuint,size);
|
47
47
|
priorities = ALLOC_N(GLclampf,size);
|
@@ -68,7 +68,7 @@ VALUE obj,arg1;
|
|
68
68
|
int i;
|
69
69
|
LOAD_GL_FUNC(glAreTexturesResidentEXT,"GL_EXT_texture_object")
|
70
70
|
ary = rb_Array(arg1);
|
71
|
-
size =
|
71
|
+
size = RARRAY_LEN(ary);
|
72
72
|
textures = ALLOC_N(GLuint,size);
|
73
73
|
residences = ALLOC_N(GLboolean,size);
|
74
74
|
ary2cuint(ary,textures,size);
|
@@ -217,8 +217,8 @@ VALUE obj,arg1,arg2,arg3;
|
|
217
217
|
GLsizei *ary2;
|
218
218
|
int len1,len2;
|
219
219
|
LOAD_GL_FUNC(glMultiDrawArraysEXT,"GL_EXT_multi_draw_arrays")
|
220
|
-
len1 =
|
221
|
-
len2 =
|
220
|
+
len1 = RARRAY_LEN(arg2);
|
221
|
+
len2 = RARRAY_LEN(arg3);
|
222
222
|
if (len1!=len2)
|
223
223
|
rb_raise(rb_eArgError, "Passed arrays must have same length");
|
224
224
|
mode = (GLenum)NUM2INT(arg1);
|
@@ -258,12 +258,12 @@ VALUE obj;
|
|
258
258
|
type = (GLenum)NUM2INT(args[1]);
|
259
259
|
Check_Type(args[2],T_ARRAY);
|
260
260
|
ary = RARRAY(args[2]);
|
261
|
-
size = ary
|
261
|
+
size = RARRAY_LEN(ary);
|
262
262
|
counts = ALLOC_N(GLsizei,size);
|
263
263
|
indices = ALLOC_N(GLvoid*,size);
|
264
264
|
for (i=0;i<size;i++) {
|
265
265
|
VALUE data;
|
266
|
-
data = pack_array_or_pass_string(type,ary
|
266
|
+
data = pack_array_or_pass_string(type,RARRAY_PTR(ary)[i]);
|
267
267
|
|
268
268
|
indices[i] = RSTRING_PTR(data);
|
269
269
|
counts[i] = RSTRING_LEN(data);
|
@@ -279,10 +279,10 @@ VALUE obj;
|
|
279
279
|
type = (GLenum)NUM2INT(args[1]);
|
280
280
|
Check_Type(args[2],T_ARRAY);
|
281
281
|
Check_Type(args[3],T_ARRAY);
|
282
|
-
if (
|
282
|
+
if (RARRAY_LEN(args[2]) != RARRAY_LEN(args[3]))
|
283
283
|
rb_raise(rb_eArgError, "Count and indices offset array must have same length");
|
284
284
|
|
285
|
-
size =
|
285
|
+
size = RARRAY_LEN(args[2]);
|
286
286
|
|
287
287
|
counts = ALLOC_N(GLsizei,size);
|
288
288
|
indices = ALLOC_N(GLvoid*,size);
|
@@ -433,7 +433,7 @@ VALUE obj,arg1,arg2,arg3; \
|
|
433
433
|
_type_ *cary; \
|
434
434
|
int len; \
|
435
435
|
LOAD_GL_FUNC(gl##_name_,_extension_) \
|
436
|
-
len =
|
436
|
+
len = RARRAY_LEN(rb_Array(arg3)); \
|
437
437
|
if (len<=0 || (len % 4) != 0) \
|
438
438
|
rb_raise(rb_eArgError, "Parameter array size must be multiplication of 4"); \
|
439
439
|
cary = ALLOC_N(_type_,len); \
|
data/ext/gl/gl-ext-nv.c
CHANGED
@@ -191,7 +191,7 @@ VALUE obj,arg1,arg2,arg3; \
|
|
191
191
|
_type_ *cary; \
|
192
192
|
int len; \
|
193
193
|
LOAD_GL_FUNC(gl##_name_,_extension_) \
|
194
|
-
len =
|
194
|
+
len = RARRAY_LEN(rb_Array(arg3)); \
|
195
195
|
if (len<=0 || (len % 4) != 0) \
|
196
196
|
rb_raise(rb_eArgError, "Parameter array size must be multiplication of 4"); \
|
197
197
|
cary = ALLOC_N(_type_,len); \
|
@@ -260,7 +260,7 @@ VALUE obj,arg1,arg2; \
|
|
260
260
|
_type_ *cary; \
|
261
261
|
int len; \
|
262
262
|
LOAD_GL_FUNC(gl##_name_,_extension_) \
|
263
|
-
len =
|
263
|
+
len = RARRAY_LEN(rb_Array(arg2)); \
|
264
264
|
if (len<=0 || (len % _size_) != 0) \
|
265
265
|
rb_raise(rb_eArgError, "Parameter array size must be multiplication of %i",_size_); \
|
266
266
|
cary = ALLOC_N(_type_,len); \
|
@@ -352,7 +352,7 @@ static VALUE gl_RequestResidentProgramsNV(VALUE obj,VALUE arg1)
|
|
352
352
|
if (TYPE(arg1)==T_ARRAY) {
|
353
353
|
GLsizei n;
|
354
354
|
GLuint *programs;
|
355
|
-
n =
|
355
|
+
n = RARRAY_LEN(arg1);
|
356
356
|
programs = ALLOC_N(GLuint,n);
|
357
357
|
ary2cuint(arg1,programs,n);
|
358
358
|
fptr_glRequestResidentProgramsNV( n, programs);
|
@@ -378,7 +378,7 @@ static VALUE gl_AreProgramsResidentNV(VALUE obj,VALUE arg1)
|
|
378
378
|
int i;
|
379
379
|
LOAD_GL_FUNC(glAreProgramsResidentNV,"GL_NV_vertex_program")
|
380
380
|
ary = rb_Array(arg1);
|
381
|
-
size =
|
381
|
+
size = RARRAY_LEN(ary);
|
382
382
|
programs = ALLOC_N(GLuint,size);
|
383
383
|
residences = ALLOC_N(GLboolean,size);
|
384
384
|
ary2cuint(ary,programs,size);
|
data/ext/glu/glu-enums.c
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
/* This file was genereated on Mon
|
1
|
+
/* This file was genereated on Mon Feb 16 18:08:57 +0100 2009
|
2
2
|
source: http://oss.sgi.com/cgi-bin/cvsweb.cgi/~checkout~/projects/ogl-sample/main/doc/registry/specs/enumglu.spec
|
3
3
|
*/
|
4
4
|
|
5
5
|
#include "../common/common.h"
|
6
6
|
void glu_init_enums(VALUE module)
|
7
7
|
{
|
8
|
-
rb_define_const(module, "GLU_FALSE", Qfalse);
|
9
8
|
rb_define_const(module, "GLU_TRUE", Qtrue);
|
9
|
+
rb_define_const(module, "GLU_FALSE", Qfalse);
|
10
10
|
|
11
11
|
rb_define_const(module, "GLU_AUTO_LOAD_MATRIX", INT2NUM(GLU_AUTO_LOAD_MATRIX));
|
12
12
|
rb_define_const(module, "GLU_BEGIN", INT2NUM(GLU_BEGIN));
|
data/ext/glu/glu.c
CHANGED
@@ -310,7 +310,7 @@ VALUE obj;
|
|
310
310
|
|
311
311
|
switch (rb_scan_args(argc, argv, "52", &args[0], &args[1], &args[2], &args[3], &args[4], &args[5], &args[6])) {
|
312
312
|
case 5:
|
313
|
-
uknot_count =
|
313
|
+
uknot_count = RARRAY_LEN(args[1]);
|
314
314
|
uorder = (GLenum)NUM2INT(args[3]);
|
315
315
|
type = (GLenum)NUM2INT(args[4]);
|
316
316
|
u_stride = get_curve_dim(type);
|
@@ -401,11 +401,11 @@ VALUE obj;
|
|
401
401
|
|
402
402
|
switch (rb_scan_args(argc, argv, "74", &args[0], &args[1], &args[2], &args[3], &args[4], &args[5], &args[6], &args[7], &args[8], &args[9], &args[10])) {
|
403
403
|
case 7:
|
404
|
-
sknot_count =
|
404
|
+
sknot_count = RARRAY_LEN(args[1]);
|
405
405
|
sknot = ALLOC_N(GLfloat, sknot_count);
|
406
406
|
ary2cflt(args[1], sknot, sknot_count);
|
407
407
|
|
408
|
-
tknot_count =
|
408
|
+
tknot_count = RARRAY_LEN(args[2]);
|
409
409
|
tknot = ALLOC_N(GLfloat, tknot_count);
|
410
410
|
ary2cflt(args[2], tknot, tknot_count);
|
411
411
|
|
@@ -497,7 +497,7 @@ VALUE obj;
|
|
497
497
|
|
498
498
|
switch (rb_scan_args(argc, argv, "32", &args[0], &args[1], &args[2], &args[3], &args[4])) {
|
499
499
|
case 3:
|
500
|
-
count =
|
500
|
+
count = RARRAY_LEN(args[1]);
|
501
501
|
type = NUM2INT(args[2]);
|
502
502
|
stride = (type == GLU_MAP1_TRIM_2 ? 2 : 3);
|
503
503
|
|
data/ext/glut/glut.c
CHANGED
@@ -83,17 +83,17 @@ static VALUE glut_Init( int argc, VALUE * argv, VALUE obj)
|
|
83
83
|
int i;
|
84
84
|
|
85
85
|
if (rb_scan_args(argc, argv, "01", &orig_arg) == 0)
|
86
|
-
orig_arg = rb_eval_string("ARGV");
|
86
|
+
orig_arg = rb_eval_string("[$0] + ARGV");
|
87
87
|
else
|
88
88
|
Check_Type(orig_arg, T_ARRAY);
|
89
89
|
|
90
90
|
/* converts commandline parameters from ruby to C, passes them
|
91
91
|
to glutInit and returns the parameters stripped of glut-specific
|
92
92
|
commands ("-display","-geometry" etc.) */
|
93
|
-
largc =
|
93
|
+
largc = RARRAY_LEN(orig_arg);
|
94
94
|
largv = ALLOCA_N(char*, largc);
|
95
95
|
for (i = 0; i < largc; i++)
|
96
|
-
largv[
|
96
|
+
largv[i] = STR2CSTR(RARRAY_PTR(orig_arg)[i]);
|
97
97
|
|
98
98
|
glutInit(&largc, largv);
|
99
99
|
|
@@ -101,6 +101,8 @@ static VALUE glut_Init( int argc, VALUE * argv, VALUE obj)
|
|
101
101
|
for (i = 0; i < largc; i++)
|
102
102
|
rb_ary_push(new_argv,rb_str_new2(largv[i]));
|
103
103
|
|
104
|
+
rb_ary_shift(new_argv);
|
105
|
+
|
104
106
|
return new_argv;
|
105
107
|
}
|
106
108
|
|
@@ -405,7 +407,7 @@ glut_DestroyMenu(obj,arg1)
|
|
405
407
|
VALUE obj,arg1;
|
406
408
|
{
|
407
409
|
int menu;
|
408
|
-
menu =
|
410
|
+
menu = NUM2INT(arg1);
|
409
411
|
glutDestroyMenu(menu);
|
410
412
|
//rb_hash_aset(g_menucallback, menu, Qnil);
|
411
413
|
//rb_hash_aset(g_menuargs, menu, Qnil);
|
data/test/tc_func_12.rb
CHANGED
@@ -127,9 +127,9 @@ class Test_12 < Test::Unit::TestCase
|
|
127
127
|
|
128
128
|
glEnable(GL_HISTOGRAM)
|
129
129
|
|
130
|
-
glHistogram(GL_HISTOGRAM,1,
|
130
|
+
glHistogram(GL_HISTOGRAM,1,GL_RGB,GL_FALSE)
|
131
131
|
assert_equal(glGetHistogramParameterfv(GL_HISTOGRAM,GL_HISTOGRAM_WIDTH),1)
|
132
|
-
assert_equal(glGetHistogramParameteriv(GL_HISTOGRAM,GL_HISTOGRAM_FORMAT),
|
132
|
+
assert_equal(glGetHistogramParameteriv(GL_HISTOGRAM,GL_HISTOGRAM_FORMAT),GL_RGB)
|
133
133
|
assert_equal(glGetHistogramParameteriv(GL_HISTOGRAM,GL_HISTOGRAM_SINK),GL_FALSE)
|
134
134
|
|
135
135
|
glDrawPixels(2,1,GL_RGB,GL_FLOAT,[1,1,1,1,1,1].pack("f*"))
|
@@ -147,9 +147,9 @@ class Test_12 < Test::Unit::TestCase
|
|
147
147
|
|
148
148
|
glEnable(GL_MINMAX)
|
149
149
|
|
150
|
-
glMinmax(GL_MINMAX,
|
151
|
-
assert_equal(glGetMinmaxParameteriv(GL_MINMAX,GL_MINMAX_FORMAT),
|
152
|
-
assert_equal(glGetMinmaxParameterfv(GL_MINMAX,GL_MINMAX_FORMAT),
|
150
|
+
glMinmax(GL_MINMAX,GL_RGB,GL_FALSE)
|
151
|
+
assert_equal(glGetMinmaxParameteriv(GL_MINMAX,GL_MINMAX_FORMAT),GL_RGB)
|
152
|
+
assert_equal(glGetMinmaxParameterfv(GL_MINMAX,GL_MINMAX_FORMAT),GL_RGB)
|
153
153
|
assert_equal(glGetMinmaxParameteriv(GL_MINMAX,GL_MINMAX_SINK),GL_FALSE)
|
154
154
|
|
155
155
|
glDrawPixels(2,1,GL_RGB,GL_FLOAT,[0,0,0,1,1,1].pack("f*"))
|
metadata
CHANGED
@@ -1,199 +1,208 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.2
|
3
|
-
specification_version: 1
|
4
2
|
name: ruby-opengl
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.60.
|
7
|
-
date: 2008-01-06 00:00:00 +09:00
|
8
|
-
summary: OpenGL Interface for Ruby
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email:
|
12
|
-
homepage: http://ruby-opengl.rubyforge.org
|
13
|
-
rubyforge_project:
|
14
|
-
description:
|
15
|
-
autorequire: gl
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: false
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: 0.60.1
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Alain Hoang
|
31
8
|
- Jan Dvorak
|
32
9
|
- Minh Thu Vo
|
33
10
|
- James Adam
|
11
|
+
autorequire: gl
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
|
15
|
+
date: 2009-02-16 00:00:00 +01:00
|
16
|
+
default_executable:
|
17
|
+
dependencies:
|
18
|
+
- !ruby/object:Gem::Dependency
|
19
|
+
name: mkrf
|
20
|
+
type: :runtime
|
21
|
+
version_requirement:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.2.0
|
27
|
+
version:
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake
|
30
|
+
type: :runtime
|
31
|
+
version_requirement:
|
32
|
+
version_requirements: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: "0"
|
37
|
+
version:
|
38
|
+
description:
|
39
|
+
email: ruby-opengl-devel@rubyforge.org
|
40
|
+
executables: []
|
41
|
+
|
42
|
+
extensions:
|
43
|
+
- Rakefile
|
44
|
+
extra_rdoc_files: []
|
45
|
+
|
34
46
|
files:
|
35
47
|
- lib/opengl.rb
|
48
|
+
- ext/glut
|
49
|
+
- ext/glut/glut.c
|
50
|
+
- ext/glut/mkrf_conf.rb
|
36
51
|
- ext/gl
|
37
|
-
- ext/gl/gl.c
|
38
|
-
- ext/gl/mkrf_conf.rb
|
39
|
-
- ext/gl/gl-2.0.c
|
40
|
-
- ext/gl/gl-1.2.c
|
41
|
-
- ext/gl/gl-2.1.c
|
42
|
-
- ext/gl/gl-1.3.c
|
43
|
-
- ext/gl/gl-1.4.c
|
44
52
|
- ext/gl/gl-1.5.c
|
45
|
-
- ext/gl/gl-enums.c
|
46
|
-
- ext/gl/gl-1.0-1.1.c
|
47
53
|
- ext/gl/gl-ext-ext.c
|
48
|
-
- ext/gl/gl-ext-arb.c
|
49
|
-
- ext/gl/gl-ext-3dfx.c
|
50
54
|
- ext/gl/gl-ext-ati.c
|
51
55
|
- ext/gl/gl-ext-nv.c
|
52
|
-
- ext/gl/gl-
|
56
|
+
- ext/gl/gl-2.1.c
|
57
|
+
- ext/gl/gl-1.4.c
|
53
58
|
- ext/gl/gl-ext-gremedy.c
|
54
|
-
- ext/
|
55
|
-
- ext/
|
56
|
-
- ext/
|
57
|
-
- ext/
|
58
|
-
- ext/
|
59
|
-
- ext/
|
60
|
-
- ext/
|
59
|
+
- ext/gl/gl-1.3.c
|
60
|
+
- ext/gl/gl-enums.c
|
61
|
+
- ext/gl/gl-error.c
|
62
|
+
- ext/gl/gl.c
|
63
|
+
- ext/gl/gl-ext-3dfx.c
|
64
|
+
- ext/gl/gl-ext-arb.c
|
65
|
+
- ext/gl/gl-2.0.c
|
66
|
+
- ext/gl/mkrf_conf.rb
|
67
|
+
- ext/gl/gl-1.2.c
|
68
|
+
- ext/gl/gl-1.0-1.1.c
|
61
69
|
- ext/common
|
62
|
-
- ext/common/
|
70
|
+
- ext/common/funcdef.h
|
63
71
|
- ext/common/common.h
|
64
|
-
- ext/common/
|
72
|
+
- ext/common/conv.h
|
65
73
|
- ext/common/gl-types.h
|
74
|
+
- ext/common/gl-enums.h
|
75
|
+
- ext/common/glu-enums.h
|
66
76
|
- ext/common/gl-error.h
|
67
|
-
- ext/
|
68
|
-
- ext/
|
77
|
+
- ext/glu
|
78
|
+
- ext/glu/glu.c
|
79
|
+
- ext/glu/glu-enums.c
|
80
|
+
- ext/glu/mkrf_conf.rb
|
81
|
+
- doc/extensions.txt
|
69
82
|
- doc/supplies
|
70
83
|
- doc/supplies/page_template.html
|
71
|
-
- doc/thanks.txt
|
72
|
-
- doc/roadmap.txt
|
73
84
|
- doc/scientific_use.txt
|
74
|
-
- doc/history.txt
|
75
85
|
- doc/tutorial.txt
|
76
|
-
- doc/requirements_and_design.txt
|
77
86
|
- doc/build_install.txt
|
78
87
|
- doc/extensions.txt.in
|
79
|
-
-
|
88
|
+
- doc/thanks.txt
|
89
|
+
- doc/history.txt
|
90
|
+
- doc/roadmap.txt
|
91
|
+
- doc/requirements_and_design.txt
|
80
92
|
- examples/NeHe
|
81
|
-
- examples/NeHe/nehe_lesson02.rb
|
82
|
-
- examples/NeHe/nehe_lesson03.rb
|
83
93
|
- examples/NeHe/nehe_lesson04.rb
|
84
|
-
- examples/NeHe/nehe_lesson05.rb
|
85
94
|
- examples/NeHe/nehe_lesson36.rb
|
95
|
+
- examples/NeHe/nehe_lesson03.rb
|
96
|
+
- examples/NeHe/nehe_lesson02.rb
|
97
|
+
- examples/NeHe/nehe_lesson05.rb
|
98
|
+
- examples/README
|
99
|
+
- examples/OrangeBook
|
100
|
+
- examples/OrangeBook/brick.frag
|
101
|
+
- examples/OrangeBook/particle.vert
|
102
|
+
- examples/OrangeBook/3Dlabs-License.txt
|
103
|
+
- examples/OrangeBook/brick.rb
|
104
|
+
- examples/OrangeBook/particle.rb
|
105
|
+
- examples/OrangeBook/particle.frag
|
106
|
+
- examples/OrangeBook/brick.vert
|
86
107
|
- examples/RedBook
|
87
|
-
- examples/RedBook/
|
88
|
-
- examples/RedBook/
|
89
|
-
- examples/RedBook/colormat.rb
|
90
|
-
- examples/RedBook/planet.rb
|
91
|
-
- examples/RedBook/mipmap.rb
|
92
|
-
- examples/RedBook/feedback.rb
|
93
|
-
- examples/RedBook/alpha.rb
|
94
|
-
- examples/RedBook/bezcurve.rb
|
95
|
-
- examples/RedBook/quadric.rb
|
96
|
-
- examples/RedBook/surface.rb
|
108
|
+
- examples/RedBook/checker.rb
|
109
|
+
- examples/RedBook/texbind.rb
|
97
110
|
- examples/RedBook/texgen.rb
|
111
|
+
- examples/RedBook/teapots.rb
|
98
112
|
- examples/RedBook/bezmesh.rb
|
99
|
-
- examples/RedBook/
|
100
|
-
- examples/RedBook/
|
101
|
-
- examples/RedBook/
|
102
|
-
- examples/RedBook/
|
103
|
-
- examples/RedBook/
|
104
|
-
- examples/RedBook/
|
113
|
+
- examples/RedBook/clip.rb
|
114
|
+
- examples/RedBook/aargb.rb
|
115
|
+
- examples/RedBook/double.rb
|
116
|
+
- examples/RedBook/alpha.rb
|
117
|
+
- examples/RedBook/jitter.rb
|
118
|
+
- examples/RedBook/dof.rb
|
119
|
+
- examples/RedBook/colormat.rb
|
105
120
|
- examples/RedBook/smooth.rb
|
106
121
|
- examples/RedBook/pickdepth.rb
|
107
|
-
- examples/RedBook/
|
108
|
-
- examples/RedBook/
|
109
|
-
- examples/RedBook/aargb.rb
|
122
|
+
- examples/RedBook/varray.rb
|
123
|
+
- examples/RedBook/accanti.rb
|
110
124
|
- examples/RedBook/cube.rb
|
111
|
-
- examples/RedBook/
|
112
|
-
- examples/RedBook/
|
113
|
-
- examples/RedBook/
|
125
|
+
- examples/RedBook/wrap.rb
|
126
|
+
- examples/RedBook/lines.rb
|
127
|
+
- examples/RedBook/bezcurve.rb
|
114
128
|
- examples/RedBook/robot.rb
|
115
|
-
- examples/RedBook/
|
116
|
-
- examples/RedBook/
|
129
|
+
- examples/RedBook/hello.rb
|
130
|
+
- examples/RedBook/aapoly.rb
|
131
|
+
- examples/RedBook/movelight.rb
|
117
132
|
- examples/RedBook/model.rb
|
118
133
|
- examples/RedBook/accpersp.rb
|
119
|
-
- examples/RedBook/texturesurf.rb
|
120
|
-
- examples/RedBook/jitter.rb
|
121
134
|
- examples/RedBook/depthcue.rb
|
122
|
-
- examples/RedBook/accanti.rb
|
123
|
-
- examples/RedBook/hello.rb
|
124
135
|
- examples/RedBook/drawf.rb
|
125
|
-
- examples/RedBook/
|
126
|
-
- examples/RedBook/
|
136
|
+
- examples/RedBook/list.rb
|
137
|
+
- examples/RedBook/surface.rb
|
138
|
+
- examples/RedBook/material.rb
|
139
|
+
- examples/RedBook/planet.rb
|
140
|
+
- examples/RedBook/quadric.rb
|
141
|
+
- examples/RedBook/image.rb
|
142
|
+
- examples/RedBook/stroke.rb
|
143
|
+
- examples/RedBook/texturesurf.rb
|
144
|
+
- examples/RedBook/feedback.rb
|
127
145
|
- examples/RedBook/teaambient.rb
|
128
|
-
- examples/RedBook/
|
129
|
-
- examples/RedBook/
|
130
|
-
- examples/RedBook/
|
146
|
+
- examples/RedBook/select.rb
|
147
|
+
- examples/RedBook/font.rb
|
148
|
+
- examples/RedBook/stencil.rb
|
149
|
+
- examples/RedBook/tess.rb
|
150
|
+
- examples/RedBook/fog.rb
|
151
|
+
- examples/RedBook/mipmap.rb
|
131
152
|
- examples/RedBook/alpha3D.rb
|
132
|
-
- examples/OrangeBook
|
133
|
-
- examples/OrangeBook/particle.frag
|
134
|
-
- examples/OrangeBook/particle.vert
|
135
|
-
- examples/OrangeBook/particle.rb
|
136
|
-
- examples/OrangeBook/3Dlabs-License.txt
|
137
|
-
- examples/OrangeBook/brick.frag
|
138
|
-
- examples/OrangeBook/brick.vert
|
139
|
-
- examples/OrangeBook/brick.rb
|
140
153
|
- examples/misc
|
154
|
+
- examples/misc/sdltest.rb
|
141
155
|
- examples/misc/readpixel.rb
|
142
|
-
- examples/misc/font-glut.rb
|
143
156
|
- examples/misc/plane.rb
|
157
|
+
- examples/misc/fbo_test.rb
|
144
158
|
- examples/misc/anisotropic.rb
|
145
|
-
- examples/misc/md2model.rb
|
146
159
|
- examples/misc/glfwtest.rb
|
147
160
|
- examples/misc/OGLBench.rb
|
148
|
-
- examples/misc/
|
149
|
-
- examples/misc/fbo_test.rb
|
161
|
+
- examples/misc/font-glut.rb
|
150
162
|
- examples/misc/trislam.rb
|
151
163
|
- test/tc_include_gl.rb
|
152
|
-
- test/
|
153
|
-
- test/tc_require_gl.rb
|
154
|
-
- test/tc_common.rb
|
155
|
-
- test/tc_misc.rb
|
164
|
+
- test/tc_ext_ati.rb
|
156
165
|
- test/tc_func_10_11.rb
|
157
|
-
- test/
|
158
|
-
- test/
|
166
|
+
- test/tc_func_14.rb
|
167
|
+
- test/tc_ext_arb.rb
|
159
168
|
- test/tc_func_13.rb
|
160
|
-
- test/
|
169
|
+
- test/tc_func_20.rb
|
161
170
|
- test/tc_glu.rb
|
171
|
+
- test/tc_require_gl.rb
|
172
|
+
- test/tc_ext_gremedy.rb
|
173
|
+
- test/README
|
174
|
+
- test/tc_func_15.rb
|
162
175
|
- test/tc_ext_ext.rb
|
163
|
-
- test/tc_ext_arb.rb
|
164
|
-
- test/tc_func_21.rb
|
165
|
-
- test/tc_ext_ati.rb
|
166
176
|
- test/tc_ext_nv.rb
|
167
|
-
- test/
|
168
|
-
- test/
|
169
|
-
|
170
|
-
|
177
|
+
- test/tc_misc.rb
|
178
|
+
- test/tc_func_12.rb
|
179
|
+
- test/tc_func_21.rb
|
180
|
+
- test/tc_common.rb
|
181
|
+
has_rdoc: false
|
182
|
+
homepage: http://ruby-opengl.rubyforge.org
|
183
|
+
post_install_message:
|
171
184
|
rdoc_options: []
|
172
185
|
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
-
|
186
|
+
require_paths:
|
187
|
+
- lib
|
188
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: "0"
|
193
|
+
version:
|
194
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: "0"
|
199
|
+
version:
|
179
200
|
requirements: []
|
180
201
|
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: 0.2.0
|
190
|
-
version:
|
191
|
-
- !ruby/object:Gem::Dependency
|
192
|
-
name: rake
|
193
|
-
version_requirement:
|
194
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
195
|
-
requirements:
|
196
|
-
- - ">"
|
197
|
-
- !ruby/object:Gem::Version
|
198
|
-
version: 0.0.0
|
199
|
-
version:
|
202
|
+
rubyforge_project: ruby-opengl
|
203
|
+
rubygems_version: 1.2.0
|
204
|
+
signing_key:
|
205
|
+
specification_version: 2
|
206
|
+
summary: OpenGL Interface for Ruby
|
207
|
+
test_files: []
|
208
|
+
|