Hello,
I've got this question with LWJGL, google just returned crap.
When I see other people program LWJGL they can just declare things like this:
glEnable(GL_LIGHTING);
whereas I have to declare things like this:
GL11.glEnable(GL11.GL_LIGHTING);
why is this?
It's just kinda annoying that I have to declare GL11 over and over again.
Thanks,
2 replies to this topic
#1
Posted 05 December 2011 - 10:45 AM
|
|
|
#2
Posted 05 December 2011 - 04:16 PM
#3
Posted 05 December 2011 - 04:58 PM
lethalwire said:
Stack imports.
Static Import
Static Import
Awesome, thanks very much for this.
This makes life 10x easier. :)
---------- Post added at 04:58 PM ---------- Previous post was at 04:28 PM ----------
Hey,
I've now got more errors! because now even with the static import it still doesn't like the methods and variables not being declared! :cursing:
I really don't know what is happening now. :(
--EDIT--
I know why, ignore me.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









