Stuff
public cpp v1 · immutableglClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); glTranslatef(0.0, 0.0, iZoom);/* X translations are fine here, but Z translations act like zoom */ glTranslatef(iXMove, 0.0, iZMove);glRotatef(iXRotation, 1.0, 0.0, 0.0);glRotatef(iYRotation, 0.0, 1.0, 0.0); /* That translate should be here and right values should * be calculated from iXRotation and iYRotation */DrawCube();