Rotating a cube using opening GL