Open GL2.0 library codes

226 Views Asked by At

So my teacher has given us the following two pieces of code

gl.glMatrixMode(5889);

and

gl.glMatrixMode(GL2.GL_PROJECTION);

I know these two are the same, but I was wondering where I can get a list of these codes for GL2 ? Prefer to use the enum instead of hard coded values so I know what I am doing, but some of our work doesn't have this information.

0

There are 0 best solutions below