void invCubieCube() { for (byte edge = 0; edge < 12; edge++) temps.ep[ep[edge]] = edge; for (byte edge = 0; edge < 12; edge++) temps.eo[edge] = eo[temps.ep[edge]]; for (byte corn = 0; corn < 8; corn++) temps.cp[cp[corn]] = corn; for (byte corn = 0; corn < 8; corn++) { byte ori = co[temps.cp[corn]]; temps.co[corn] = (byte) -ori; if (temps.co[corn] < 0) temps.co[corn] += 3; } copy(temps); }
CubieCube(CubieCube c) { copy(c); }