Tired of always typing GL11.gl....?

Started by appel, October 15, 2006, 23:21:12

Previous topic - Next topic

appel

Try this:

import static org.lwjgl.opengl.GL11.*;

and then always refer to glWhatever :)

princec

...and just in case you're developing for 1.4, you can use Retroweaver to allow your 1.5 code to run on 1.4 VMs :)

Cas :)

the2bears

Quote from: "appel"Try this:

import static org.lwjgl.opengl.GL11.*;

and then always refer to glWhatever :)

You see... I ignore some of these new language features until someone show's me just how useful they'd be!  Thanks, because I am indeed tired of typing GL11.* :)

Bill
the2bears - the indie shmup blog