opengl

An OpenGL wrapper for Ruby. Contains bindings for OpenGL. Available for Windows, Linux and OS X. GLUT, GLU and GLFW were split into standalone gems. The documentation, however, is still stored here.

This is the main documentation site for ruby bindings of OpenGL related libraries.

Synopsis

require 'opengl'
# (code sample of usage)

Requirements

Install

gem install opengl

Getting started

Please have a look at the Ruby OpenGL tutorial

Developers

After checking out the source, run:

$ bundle install
$ rake compile test

This will install any missing dependencies, build the Ruby C extension and run all tests. Not all tests succeed on all graphic cards.