$ 0 0 Use the rotation of the cube. If the rotation around y is 0, then face 0 is visible. If Rotation around y is 90 degrees, then face 1, etc.