Before I post a n00b question on here, I make sure to google it in many forms. Everywhere I look, this is the output:
glRotated(angle, 0, 0, 0);
Now the javadoc says that the parameters are "double angle, double x, double y, double z" respectively. Issue is, all the above code does is warp the image's size.
glRotated(angle, 0, 0, 1);
rotates the image, but, rotates the layer it was drawn upon as well, meaning that it moves it's position on the screen, which does not bode very well for my specific game.
glRotated(angle, x, y, 0);
this warps the image so that it implodes with the angle going larger.
How can I make it so that the image rotates like the second code example, but stay in the same place?