# Ruby-opengl 0.60.0 released

**URL:** <https://www.ruby-forum.com/t/ruby-opengl-0-60-0-released/125390>\
**Category:** Ruby\
**Created:** [January 8, 2008, 7:56pm UTC](https://www.ruby-forum.com/t/ruby-opengl-0-60-0-released/125390 "2008-01-08T19:56:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jandrake](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/85e7bf/32.png) [@jandrake](https://www.ruby-forum.com/u/jandrake)\
**Post date:** [January 8, 2008, 7:56pm UTC](https://www.ruby-forum.com/t/ruby-opengl-0-60-0-released/125390/1 "2008-01-08T19:56:30Z")

</div>

Hello,

we’ve just released version 0.60.0 of the OpenGL bindings for ruby.

Changes:

- Automatic error checking for GL/GLU calls, enabled by default (see  
doc/tutorial)
- Added support for many more OpenGL extensions
- Support for Ruby 1.9.0+ (requires mkrf 0.2.3)
- Ton of bugfixes.

API Changes:

- Boolean functions/parameters was changed to ruby true/false instead of  
GL\_TRUE / GL\_FALSE, which remains for compatibility
- glGet\* functions now returns x instead of [x] when returning only one  
value
- Functions operating on packed strings (glTexture, gl\*Pointer etc.)  
accepts  
ruby arrays directly
- Matrix handling functions also accepts instances of Matrix class, or  
any  
class that can be converted to array
- glUniform_v and glUniformmatrix_v now does not require ‘count’  
parameter,  
they will calculate it from length of passed array
- glCallLists needs type specifier (previously was forced to GL\_BYTE)
- On ruby 1.9, glut keyboard callback returns char (“x”) instead of  
integer so  
using ‘if key == ?x’ works on both 1.8 and 1.9

There has been lots of code changes since last release, so expect some  
bugs.  
This release marks pretty much completion of the low-level API (before  
OpenGL  
3.0 hits us), meaning there shouldn’t be much things you can do in C  
OpenGL  
that you couldn’t do in ruby. There is still no API documentation  
(planned  
for next release), although most of the functions follows their C  
counterparts with the same patterns and changes outlined in tutorial  
section  
of our homepage. Also, performance freaks will be happy to hear that  
with  
ruby 1.9.0, the raw speed of OpenGL operations now matches the speed of  
Perl’s POGL bindings (at least according to my tests), which is between  
2x-5x  
increase from ruby 1.8.

As always, any feedback is appreciated.

Homepage: [http://ruby-opengl.rubyforge.org/](http://ruby-opengl.rubyforge.org/)  
Bug tracker: [http://rubyforge.org/tracker/?atid=8185&group\_id=2103](http://rubyforge.org/tracker/?atid=8185&group_id=2103)

Thanks,  
Jan
