Rotates the cube