Scala Swing wrapper for a GLCanvas (a heavyweight AWT component).
Singleton object to init OpenGL and let us grab context from anywhere.
Singleton object to init OpenGL and let us grab context from anywhere. Also has useful utility functions for dealing with vectors and matrices.
Scala Swing wrapper for a GLCanvas (a heavyweight AWT component). GLCanvas has better rendering performance than GLPanel, but it doesn't always play nicely with Swing. It's pretty easy to change a class to use one or the other, so it may be a good idea to start with the this GLCanvas wrapper and only switch to the GLPanel wrapper if you can't get the former to work in your GUI.