示例#1
0
        internal static void InitCPermMove()
        {
            CubieCube c = new CubieCube();
            CubieCube d = new CubieCube();

            for (int i = 0; i < N_PERM_SYM; i++)
            {
                c.SetCPerm(CubieCube.EPermS2R[i]);
                for (int j = 0; j < N_MOVES; j++)
                {
                    CubieCube.CornMult(c, CubieCube.MoveCube[j], d);
                    CPermMove[i][j] = (char)d.GetCPermSym();
                }
            }
        }