public void MapFrontTo(sbyte side) { a1 = FaceLayout3D.MapFrontTo(side, a1); a2 = FaceLayout3D.MapFrontTo(side, a2); a3 = FaceLayout3D.MapFrontTo(side, a3); AdjustOrder(); }
public static Cube GetInitState() { Cube cube = new Cube(); for (sbyte i = 0; i < 6; i++) { FaceLayout3D row = FaceLayout3D.Face3DLayouts[i]; cube.Faces[i] = new Face(i, row[1], row[2], row[3], row[4]); } return(cube); }