diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-25 10:09:22 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-25 10:09:22 +0200 |
| commit | 7faca28009c5efb0ba2b897b34dbdcac47a1a6f3 (patch) | |
| tree | fd507509d00d2926175c72f4c06b9158c3a331a7 /src/core/cube.h | |
| parent | 17e5a9e1e2b241c67956651f87f40236467fe7d8 (diff) | |
| download | nissy-core-7faca28009c5efb0ba2b897b34dbdcac47a1a6f3.tar.gz nissy-core-7faca28009c5efb0ba2b897b34dbdcac47a1a6f3.zip | |
NISS
Diffstat (limited to 'src/core/cube.h')
| -rw-r--r-- | src/core/cube.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/cube.h b/src/core/cube.h index 88e1ca9..842ec59 100644 --- a/src/core/cube.h +++ b/src/core/cube.h | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | STATIC oriented_cube_t solvedcube(void); | ||
| 2 | STATIC cube_t cubefromarray(uint8_t [static 8], uint8_t [static 12]); | 1 | STATIC cube_t cubefromarray(uint8_t [static 8], uint8_t [static 12]); |
| 3 | STATIC bool isconsistent(oriented_cube_t); | 2 | STATIC bool isconsistent(oriented_cube_t); |
| 4 | STATIC bool issolvable(oriented_cube_t); | 3 | STATIC bool issolvable(oriented_cube_t); |
| @@ -20,13 +19,6 @@ STATIC uint8_t b32tocorner(char); | |||
| 20 | STATIC char edgetob32(uint8_t); | 19 | STATIC char edgetob32(uint8_t); |
| 21 | STATIC char cornertob32(uint8_t); | 20 | STATIC char cornertob32(uint8_t); |
| 22 | 21 | ||
| 23 | /* This is used only in tests, use SOLVED_ORIENTED_CUBE everywhere else */ | ||
| 24 | STATIC oriented_cube_t | ||
| 25 | solvedcube(void) | ||
| 26 | { | ||
| 27 | return SOLVED_ORIENTED_CUBE; | ||
| 28 | } | ||
| 29 | |||
| 30 | STATIC cube_t | 22 | STATIC cube_t |
| 31 | cubefromarray(uint8_t c[static 8], uint8_t e[static 12]) | 23 | cubefromarray(uint8_t c[static 8], uint8_t e[static 12]) |
| 32 | { | 24 | { |
