aboutsummaryrefslogtreecommitdiff
path: root/src/cube.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-06-09 12:43:49 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-06-09 12:43:49 +0200
commitc5c5017a335208881e27fc8f72c1d0145a04622a (patch)
tree7a1518e5b05f3fbde810fa3080c41099ba7d5ae8 /src/cube.h
parent28ad019d62583b7e89b4e76922aa73857d5876eb (diff)
downloadnissy-core-c5c5017a335208881e27fc8f72c1d0145a04622a.tar.gz
nissy-core-c5c5017a335208881e27fc8f72c1d0145a04622a.zip
Remvoed cube_fast_t and more. More cleaning up to do.
Diffstat (limited to '')
-rw-r--r--src/cube.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/cube.h b/src/cube.h
index 694560a..3cbc3b5 100644
--- a/src/cube.h
+++ b/src/cube.h
@@ -25,23 +25,6 @@ you operate on the cube only via the functions provided below, you don't
25need to worry about this. 25need to worry about this.
26******************************************************************************/ 26******************************************************************************/
27 27
28typedef struct {
29 uint8_t corner[8];
30 uint8_t edge[12];
31} cube_t;
32
33/* Returns a copy of the solved cube */
34cube_t solvedcube(void);
35
36/* Basic checks on the cube */
37bool isconsistent(cube_t);
38bool issolvable(cube_t);
39bool issolved(cube_t);
40bool equal(cube_t, cube_t);
41
42/* All functions can return an error value, use iserror() to check this */
43bool iserror(cube_t);
44
45/* Apply the second cube on the first as a move sequence */ 28/* Apply the second cube on the first as a move sequence */
46cube_t compose(cube_t, cube_t); 29cube_t compose(cube_t, cube_t);
47 30

Generated with cgit - Back to sebastiano.tronto.net