Bluestorm96, on 28 April 2012 - 04:58 PM, said:
The numbers are
LWJGL constants. Minecraft uses LWJGL for all of its input and rendering, so it would be a good idea to become familiar with Mouse, Keyboard, and GL11.
Although, if you're going to draw things to the screen, use Tessellator whenever possible. It annoys me so much when people use immediate mode OpenGL (aka "slow mode") when there's a perfectly good vertex array system ("medium speed mode") at their disposal.
I used
drawRect(300, 14, 1, 125, 0xaa000000);
to draw a box. Is this what you were talking about?
cp133, on 28 April 2012 - 05:11 PM, said:
Bluestorm96, on 28 April 2012 - 04:58 PM, said:
The numbers are
LWJGL constants. Minecraft uses LWJGL for all of its input and rendering, so it would be a good idea to become familiar with Mouse, Keyboard, and GL11.
Although, if you're going to draw things to the screen, use Tessellator whenever possible. It annoys me so much when people use immediate mode OpenGL (aka "slow mode") when there's a perfectly good vertex array system ("medium speed mode") at their disposal.
A more visually friendly version of the LWJGL constants:
Thanks that was what I was talking about to search for