MCPcopy Create free account
hub / github.com/MeigenChou/DCTimer-Android / permMove

Method permMove

app/src/main/java/solver/Cube222.java:28–43  ·  view source on GitHub ↗
(int[] ps, int m)

Source from the content-addressed store, hash-verified

26 }
27
28 private static void permMove(int[] ps, int m) {
29 switch (m) {
30 case 0: //U
31 Utils.circle(ps, 0, 1, 3, 2); break;
32 case 1: //R
33 Utils.circle(ps, 0, 4, 5, 1); break;
34 case 2: //F
35 Utils.circle(ps, 0, 2, 6, 4); break;
36 case 3: //D
37 Utils.circle(ps, 4, 6, 7, 5); break;
38 case 4: //L
39 Utils.circle(ps, 2, 3, 7, 6); break;
40 case 5: //B
41 Utils.circle(ps, 1, 5, 7, 3); break;
42 }
43 }
44
45 private static void twistMove(int[] ps, int m) {
46 int c;

Callers 2

doMoveMethod · 0.95
getprmmvMethod · 0.95

Calls 1

circleMethod · 0.95

Tested by

no test coverage detected