(int r)
| 235 | |
| 236 | |
| 237 | private void rotate(int r) { |
| 238 | for (int j = 0; j < r; j++) { |
| 239 | rot(0); |
| 240 | if ((j &1) == 1) rot(1); |
| 241 | if ((j &7) == 7) rot(2); |
| 242 | if ((j &15) == 15) rot(3); |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | static int getSolvedSym(CenterCube cube) { |
| 247 | Center1 c = new Center1(cube.ct); |