gl.glRotatef(this.rotate, 0.0f, 0.0f, -12.0f);
Just been trying to get my head around how this method works. After looking at the api I manage to get that the first argument is the angle and the other three are the coordinates of the point you are rotating around? Yeah just been trying to us it and my models have been doing all kinds of cool things just not what i want.
So could someone please please please explain how the glRotate method works? I know this must be a noob question but I’m only just getting my head into the thousands of jogl methods and fields and your help would be greatly appreciated.
Enlighten me!
Cheers,
James