aboutsummaryrefslogtreecommitdiff
path: root/src/cube.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-05-31 17:29:08 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2022-05-31 17:29:08 +0200
commitf021ee7fa4975eab02c158451093a28e83a725d9 (patch)
tree7ec8d13732d59fa1b53e55b87753ebf35b5e58ad /src/cube.h
parente18f8e4eefadd733d985e99e2710111afa5a710a (diff)
downloadnissy-f021ee7fa4975eab02c158451093a28e83a725d9.tar.gz
nissy-f021ee7fa4975eab02c158451093a28e83a725d9.zip
Big changes to coordinate system: remove "anti-index" in favor of a more kociemba-like move function for each coordinate. This should speedup the table generation step. WARNING: nissy might not be 100% functional at this stage, TESTING needed!
Diffstat (limited to '')
-rw-r--r--src/cube.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cube.h b/src/cube.h
index 8e04839..483a89a 100644
--- a/src/cube.h
+++ b/src/cube.h
@@ -23,6 +23,9 @@ bool is_solved_center(Cube cube, Center c);
23bool is_solved_corner(Cube cube, Corner c); 23bool is_solved_corner(Cube cube, Corner c);
24bool is_solved_edge(Cube cube, Edge e); 24bool is_solved_edge(Cube cube, Edge e);
25void epos_to_partial_ep(int epos, int *ep, int *ss); 25void epos_to_partial_ep(int epos, int *ep, int *ss);
26void epos_to_compatible_ep(int epos, int *ep, int *ss);
27void fix_eorleoud(CubeArray *arr);
28void fix_cofbcorl(CubeArray *arr);
26Cube fourval_to_cube(int eofb, int ep, int coud, int cp); 29Cube fourval_to_cube(int eofb, int ep, int coud, int cp);
27void free_cubearray(CubeArray *arr, PieceFilter f); 30void free_cubearray(CubeArray *arr, PieceFilter f);
28Cube move_via_arrays(CubeArray *arr, Cube c, PieceFilter pf); 31Cube move_via_arrays(CubeArray *arr, Cube c, PieceFilter pf);

Generated with cgit - Back to sebastiano.tronto.net