diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-04 12:15:37 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-04 12:15:37 +0200 |
| commit | 0de1530f4cea21f2bc0a0e0f1cbf9da016c7bda5 (patch) | |
| tree | a0a64424190588e5f734c257dd312e1f89fcd1eb /src/arch/common.h | |
| parent | 80b065f757240af7920862b3e09f32a6dc06d392 (diff) | |
| download | nissy-core-0de1530f4cea21f2bc0a0e0f1cbf9da016c7bda5.tar.gz nissy-core-0de1530f4cea21f2bc0a0e0f1cbf9da016c7bda5.zip | |
Revert table-based transformations
Long live the giant switch!
Diffstat (limited to 'src/arch/common.h')
| -rw-r--r-- | src/arch/common.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/arch/common.h b/src/arch/common.h index 1469b30..346403b 100644 --- a/src/arch/common.h +++ b/src/arch/common.h | |||
| @@ -1,11 +1,4 @@ | |||
| 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) | ||
| 5 | STATIC void pieces(cube_t *, uint8_t [static 8], uint8_t [static 12]); | 1 | STATIC void pieces(cube_t *, uint8_t [static 8], uint8_t [static 12]); |
| 6 | STATIC_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); | ||
| 9 | STATIC_INLINE bool equal(cube_t, cube_t); | 2 | STATIC_INLINE bool equal(cube_t, cube_t); |
| 10 | STATIC_INLINE cube_t invertco(cube_t); | 3 | STATIC_INLINE cube_t invertco(cube_t); |
| 11 | STATIC_INLINE cube_t compose_epcpeo(cube_t, cube_t); | 4 | STATIC_INLINE cube_t compose_epcpeo(cube_t, cube_t); |
