I am drawing and rotating a cube. Is there a programmatic way to tell
what side of the cube is facing me?
//i rotate the cube using the following
//xRot,yRot are inc or decremented to change angles
gl.glRotatef(xRot, 1.0f, 0.0f, 0.0f);
gl.glRotatef(yRot, 0.0f, 1.0f, 0.0f);
For example if I randomly spin the cube when done spinning. I want to
know which face(s) I am looking at. 10% of face 1, 90% of face 2.