aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/coord
diff options
context:
space:
mode:
Diffstat (limited to 'src/solvers/coord')
-rw-r--r--src/solvers/coord/eo.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/solvers/coord/eo.h b/src/solvers/coord/eo.h
index 2d45a4f..5c823a1 100644
--- a/src/solvers/coord/eo.h
+++ b/src/solvers/coord/eo.h
@@ -2,7 +2,6 @@ STATIC uint64_t coordinate_eo_coord(cube_t, const unsigned char *);
2STATIC cube_t coordinate_eo_cube(uint64_t, const unsigned char *); 2STATIC cube_t coordinate_eo_cube(uint64_t, const unsigned char *);
3STATIC bool coordinate_eo_isnasty(uint64_t, const unsigned char *); 3STATIC bool coordinate_eo_isnasty(uint64_t, const unsigned char *);
4STATIC size_t coordinate_eo_gendata(unsigned char *); 4STATIC size_t coordinate_eo_gendata(unsigned char *);
5STATIC bool is_eo_even(cube_t);
6 5
7STATIC coord_t coordinate_eo = { 6STATIC coord_t coordinate_eo = {
8 .name = "EO", 7 .name = "EO",
@@ -57,16 +56,3 @@ coordinate_eo_gendata(unsigned char *data)
57{ 56{
58 return 0; 57 return 0;
59} 58}
60
61STATIC bool
62is_eo_even(cube_t cube)
63{
64 uint8_t c[8], e[12], i, count;
65
66 pieces(&cube, c, e);
67
68 for (i = 0, count = 0; i < 12; i++)
69 count += (e[i] & EOBIT) >> EOSHIFT;
70
71 return count % 2 == 0;
72}

Generated with cgit - Back to sebastiano.tronto.net