From 0de1530f4cea21f2bc0a0e0f1cbf9da016c7bda5 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 4 Oct 2024 12:15:37 +0200 Subject: Revert table-based transformations Long live the giant switch! --- src/arch/common.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/arch/common.h') 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 @@ -#define ZERO_CUBE cubefrompieces( \ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) -#define SOLVED_CUBE cubefrompieces( \ - 0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) STATIC void pieces(cube_t *, uint8_t [static 8], uint8_t [static 12]); -STATIC_INLINE cube_t cubefrompieces(uint8_t, uint8_t, uint8_t, uint8_t, - uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, - uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t); STATIC_INLINE bool equal(cube_t, cube_t); STATIC_INLINE cube_t invertco(cube_t); STATIC_INLINE cube_t compose_epcpeo(cube_t, cube_t); -- cgit v1.3