Revision ece1b58d
Added by Leszek Koltunski about 5 years ago
| src/main/java/org/distorted/objects/RubikCube.java | ||
|---|---|---|
| 65 | 65 |  | 
| 66 | 66 | private static final int[] FACE_COLORS = new int[] | 
| 67 | 67 |          {
 | 
| 68 |            0xffffff00, 0xffffffff,   // FACE_AXIS[0] (right-YELLOW) FACE_AXIS[1] (left  -WHITE)
 | |
| 69 |            0xff0000ff, 0xff00ff00,   // FACE_AXIS[2] (top  -BLUE  ) FACE_AXIS[3] (bottom-GREEN)
 | |
| 70 |            0xffff0000, 0xffb5651d    // FACE_AXIS[4] (front-RED   ) FACE_AXIS[5] (back  -BROWN)
 | |
| 68 |            COLOR_YELLOW, COLOR_WHITE,
 | |
| 69 |            COLOR_BLUE  , COLOR_GREEN,
 | |
| 70 |            COLOR_RED   , COLOR_BROWN
 | |
| 71 | 71 | }; | 
| 72 | 72 |  | 
| 73 | 73 | // All legal rotation quats of a RubikCube of any size. | 
Also available in: Unified diff
1) correction for Dino4's isSolved() [ remember about the mirror! ]
2) beginnings of support for the Skewb Diamond