Hey, does anyone know of a way to automatically import all of lwjgl? so that you don’t have to call GL13.someMethod orGL11.someMethod etc? The only way i know of is to statically import the GL11/GL13/GL30 etc libraries. does eclipse have some way of automaticly adding these? or is there some sort of build path configuration i have missed.?
I want to do:
import static org.lwjgl.opengl.GL11.*;
public class foo {
public foo() {
glEnable(GL_BLEND);
glDisableGL_DEPTH_TEST);
}
}
without needing to type:
import static org.lwjgl.opengl.GL11.*;
FYI ctrl-shift-o doesn’t seem to work