Closed ghost closed 1 year ago
Make sure your environment supports OpenGL. Have you tried running sample.rb?
OpenGL works fine in C and in Ruby using the old opengl
gem. It just doesn't work with this gem!
GL.load_lib()
before calling any OpenGL APIs including GL.Enable(GL::DEPTH_TEST)
.
The example in the readme fails to work. When trying out:
it just results in a NoMethodError