Java的OpenGL开发包 JOGL
fmms
13年前
JOGL 是Java对于OpenGl的绑定(Java Bindings for OpenGL).
示例代码:
import net.java.games.jogl.*; public class HelloWorld { public static void main (String args[]) { try { System.loadLibrary("jogl"); System.out.println( "Hello World! (The native libraries are installed.)" ); GLCapabilities caps = new GLCapabilities(); System.out.println( "Hello JOGL! (The jar appears to be available.)" ); } catch (Exception e) { System.out.println(e); } } }