ruby-opengl 0.60.0 → 0.60.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/Rakefile +10 -2
  2. data/doc/extensions.txt +556 -0
  3. data/examples/NeHe/nehe_lesson02.rb +0 -0
  4. data/examples/NeHe/nehe_lesson03.rb +0 -0
  5. data/examples/NeHe/nehe_lesson04.rb +0 -0
  6. data/examples/NeHe/nehe_lesson05.rb +0 -0
  7. data/examples/RedBook/aapoly.rb +0 -0
  8. data/examples/RedBook/aargb.rb +0 -0
  9. data/examples/RedBook/accanti.rb +0 -0
  10. data/examples/RedBook/accpersp.rb +0 -0
  11. data/examples/RedBook/alpha.rb +0 -0
  12. data/examples/RedBook/alpha3D.rb +0 -0
  13. data/examples/RedBook/bezcurve.rb +0 -0
  14. data/examples/RedBook/bezmesh.rb +0 -0
  15. data/examples/RedBook/checker.rb +0 -0
  16. data/examples/RedBook/clip.rb +0 -0
  17. data/examples/RedBook/colormat.rb +0 -0
  18. data/examples/RedBook/cube.rb +0 -0
  19. data/examples/RedBook/depthcue.rb +0 -0
  20. data/examples/RedBook/dof.rb +0 -0
  21. data/examples/RedBook/double.rb +0 -0
  22. data/examples/RedBook/drawf.rb +0 -0
  23. data/examples/RedBook/feedback.rb +0 -0
  24. data/examples/RedBook/fog.rb +0 -0
  25. data/examples/RedBook/font.rb +0 -0
  26. data/examples/RedBook/hello.rb +0 -0
  27. data/examples/RedBook/image.rb +0 -0
  28. data/examples/RedBook/jitter.rb +0 -0
  29. data/examples/RedBook/lines.rb +0 -0
  30. data/examples/RedBook/list.rb +0 -0
  31. data/examples/RedBook/material.rb +0 -0
  32. data/examples/RedBook/mipmap.rb +0 -0
  33. data/examples/RedBook/model.rb +0 -0
  34. data/examples/RedBook/movelight.rb +0 -0
  35. data/examples/RedBook/pickdepth.rb +0 -0
  36. data/examples/RedBook/planet.rb +0 -0
  37. data/examples/RedBook/quadric.rb +0 -0
  38. data/examples/RedBook/robot.rb +0 -0
  39. data/examples/RedBook/select.rb +0 -0
  40. data/examples/RedBook/smooth.rb +0 -0
  41. data/examples/RedBook/stencil.rb +0 -0
  42. data/examples/RedBook/stroke.rb +0 -0
  43. data/examples/RedBook/surface.rb +0 -0
  44. data/examples/RedBook/teaambient.rb +0 -0
  45. data/examples/RedBook/teapots.rb +0 -0
  46. data/examples/RedBook/tess.rb +0 -0
  47. data/examples/RedBook/texbind.rb +0 -0
  48. data/examples/RedBook/texgen.rb +0 -0
  49. data/examples/RedBook/texturesurf.rb +0 -0
  50. data/examples/RedBook/varray.rb +0 -0
  51. data/examples/RedBook/wrap.rb +0 -0
  52. data/examples/misc/font-glut.rb +0 -0
  53. data/examples/misc/readpixel.rb +0 -0
  54. data/ext/common/conv.h +3 -3
  55. data/ext/common/funcdef.h +2 -2
  56. data/ext/common/gl-enums.h +885 -9
  57. data/ext/common/glu-enums.h +1 -7
  58. data/ext/gl/gl-1.0-1.1.c +27 -27
  59. data/ext/gl/gl-1.3.c +5 -5
  60. data/ext/gl/gl-1.4.c +6 -6
  61. data/ext/gl/gl-2.0.c +1 -1
  62. data/ext/gl/gl-enums.c +295 -1
  63. data/ext/gl/gl-ext-arb.c +1 -1
  64. data/ext/gl/gl-ext-ati.c +1 -1
  65. data/ext/gl/gl-ext-ext.c +9 -9
  66. data/ext/gl/gl-ext-nv.c +4 -4
  67. data/ext/glu/glu-enums.c +2 -2
  68. data/ext/glu/glu.c +4 -4
  69. data/ext/glut/glut.c +6 -4
  70. data/test/tc_func_12.rb +5 -5
  71. metadata +148 -139
  72. 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 (RARRAY(arg1)->len != _size_) \
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 = RARRAY(arg1)->len;
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 = RARRAY(arg1)->len) != RARRAY(arg2)->len)
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 = RARRAY(ary)->len;
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 = RARRAY(arg2)->len;
221
- len2 = RARRAY(arg3)->len;
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->len;
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->ptr[i]);
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 (RARRAY(args[2])->len != RARRAY(args[3])->len)
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 = RARRAY(args[2])->len;
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 = RARRAY(rb_Array(arg3))->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 = RARRAY(rb_Array(arg3))->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 = RARRAY(rb_Array(arg2))->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 = RARRAY(arg1)->len;
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 = RARRAY(ary)->len;
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 Jul 23 15:17:36 +0200 2007
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 = RARRAY(args[1])->len;
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 = RARRAY(args[1])->len;
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 = RARRAY(args[2])->len;
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 = RARRAY(args[1])->len;
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 = RARRAY(orig_arg)->len;
93
+ largc = RARRAY_LEN(orig_arg);
94
94
  largv = ALLOCA_N(char*, largc);
95
95
  for (i = 0; i < largc; i++)
96
- largv[0] = STR2CSTR(RARRAY(orig_arg)->ptr[i]);
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 = INT2FIX(arg1);
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,GL_RGB8,GL_FALSE)
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),GL_RGB8)
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,GL_RGB8,GL_FALSE)
151
- assert_equal(glGetMinmaxParameteriv(GL_MINMAX,GL_MINMAX_FORMAT),GL_RGB8)
152
- assert_equal(glGetMinmaxParameterfv(GL_MINMAX,GL_MINMAX_FORMAT),GL_RGB8)
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.0
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-error.c
56
+ - ext/gl/gl-2.1.c
57
+ - ext/gl/gl-1.4.c
53
58
  - ext/gl/gl-ext-gremedy.c
54
- - ext/glu
55
- - ext/glu/glu.c
56
- - ext/glu/mkrf_conf.rb
57
- - ext/glu/glu-enums.c
58
- - ext/glut
59
- - ext/glut/glut.c
60
- - ext/glut/mkrf_conf.rb
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/gl-enums.h
70
+ - ext/common/funcdef.h
63
71
  - ext/common/common.h
64
- - ext/common/glu-enums.h
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/common/funcdef.h
68
- - ext/common/conv.h
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
- - examples/README
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/tess.rb
88
- - examples/RedBook/select.rb
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/texbind.rb
100
- - examples/RedBook/movelight.rb
101
- - examples/RedBook/stencil.rb
102
- - examples/RedBook/varray.rb
103
- - examples/RedBook/font.rb
104
- - examples/RedBook/stroke.rb
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/list.rb
108
- - examples/RedBook/fog.rb
109
- - examples/RedBook/aargb.rb
122
+ - examples/RedBook/varray.rb
123
+ - examples/RedBook/accanti.rb
110
124
  - examples/RedBook/cube.rb
111
- - examples/RedBook/teapots.rb
112
- - examples/RedBook/image.rb
113
- - examples/RedBook/aapoly.rb
125
+ - examples/RedBook/wrap.rb
126
+ - examples/RedBook/lines.rb
127
+ - examples/RedBook/bezcurve.rb
114
128
  - examples/RedBook/robot.rb
115
- - examples/RedBook/clip.rb
116
- - examples/RedBook/material.rb
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/checker.rb
126
- - examples/RedBook/dof.rb
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/wrap.rb
129
- - examples/RedBook/lines.rb
130
- - examples/RedBook/double.rb
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/sdltest.rb
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/README
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/tc_func_20.rb
158
- - test/tc_func_12.rb
166
+ - test/tc_func_14.rb
167
+ - test/tc_ext_arb.rb
159
168
  - test/tc_func_13.rb
160
- - test/tc_func_15.rb
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/tc_ext_gremedy.rb
168
- - test/tc_func_14.rb
169
- test_files: []
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
- extra_rdoc_files: []
174
-
175
- executables: []
176
-
177
- extensions:
178
- - Rakefile
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
- dependencies:
182
- - !ruby/object:Gem::Dependency
183
- name: mkrf
184
- version_requirement:
185
- version_requirements: !ruby/object:Gem::Version::Requirement
186
- requirements:
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
+