aboutsummaryrefslogtreecommitdiff
path: root/src/arch/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/common.h')
-rw-r--r--src/arch/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/common.h b/src/arch/common.h
index 346403b..1469b30 100644
--- a/src/arch/common.h
+++ b/src/arch/common.h
@@ -1,4 +1,11 @@
1#define ZERO_CUBE cubefrompieces( \
2 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
3#define SOLVED_CUBE cubefrompieces( \
4 0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1STATIC void pieces(cube_t *, uint8_t [static 8], uint8_t [static 12]); 5STATIC void pieces(cube_t *, uint8_t [static 8], uint8_t [static 12]);
6STATIC_INLINE cube_t cubefrompieces(uint8_t, uint8_t, uint8_t, uint8_t,
7 uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t,
8 uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t);
2STATIC_INLINE bool equal(cube_t, cube_t); 9STATIC_INLINE bool equal(cube_t, cube_t);
3STATIC_INLINE cube_t invertco(cube_t); 10STATIC_INLINE cube_t invertco(cube_t);
4STATIC_INLINE cube_t compose_epcpeo(cube_t, cube_t); 11STATIC_INLINE cube_t compose_epcpeo(cube_t, cube_t);

Generated with cgit - Back to sebastiano.tronto.net