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

Method initMvrot

app/src/main/java/cs/threephase/Edge3.java:34–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 static int[] factX = {1, 1, 2/2, 6/2, 24/2, 120/2, 720/2, 5040/2, 40320/2, 362880/2, 3628800/2, 39916800/2, 479001600/2};
33
34 static void initMvrot() {
35 Edge3 e = new Edge3();
36 for (int m=0; m<20; m++) {
37 for (int r=0; r<8; r++) {
38 e.set(0);
39 e.move(m);
40 e.rotate(r);
41 System.arraycopy(e.edge, 0, mvrot[m<<3|r], 0, 12);
42 e.std();
43 System.arraycopy(e.temp, 0, mvroto[m<<3|r], 0, 12);
44 }
45 }
46 }
47
48 static void initRaw2Sym() {
49 Edge3 e = new Edge3();

Callers 1

initMethod · 0.95

Calls 4

setMethod · 0.95
moveMethod · 0.95
rotateMethod · 0.95
stdMethod · 0.95

Tested by

no test coverage detected