I’m using 1.1.1 rc7. Most constants work fine, but GL.GL_PERSPECTIVE doesn’t resolve for some reason – Eclipse assist doesn’t find it, and the compiler gives me an error on it. However, when going to the type definition for GL (F3 in Eclipse), I get a disassembly of the jar, where it shows GL_PERSPECTIVE with the value 5889.
// Field descriptor #2794 I
public static final int GL_MATRIX_MODE = 2976;
// Field descriptor #2794 I
public static final int GL_MODELVIEW = 5888;
// Field descriptor #2794 I
public static final int GL_PROJECTION = 5889;
// Field descriptor #2794 I
public static final int GL_TEXTURE = 5890;
Meanwhile, using GL.GL_MODELVIEW in the same context compiles/resolves fine!
I realize this may very well be a user error, because I’m not very used to Eclipse, or Java in general, but I can’t figure out what would be going wrong. Any help appreciated!
Btw: I downloaded the source jogl-1.1.1-rc7-src.zip and installed and attached for the project in Eclipse where I attached the jars, so some classes show up with source, but there appears to be no source for the GL class itself. I assume that’s because it’s auto-generated?