Starting a project for a Linear Algebra class and I want to display 3D
rotation using JRuby and LWJGL. I already have working code written in
Java, but when I use the same .jar files in my /lib folder of the
project, it can’t find some of the classes.
For example, in the Java file, I can import:
import org.lwjgl.util.glu.GLU; #works!
But when I try to import it in JRuby:
require ‘java’
require ‘lwjgl.jar’
java_import org.lwjgl.util.glu.GLU; #Error!
I get an error with the 2nd; however, SOME of the imports DO work with
JRuby, just not this one and various others = /. If there’s someone out
there who’s done this and has experience with linking JRuby with LWJGL,
I would really appreciate any tips!