aboutsummaryrefslogtreecommitdiff
path: root/src/cube.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-17 22:03:33 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-17 22:03:33 +0100
commit6df92db4d23dd6e2c3aba48caf1e0ea30265abb2 (patch)
treed798a2717ed9ee266e6070a3fd018de5dbcf1cd2 /src/cube.c
parent2f924f942bd6e7126e8f1d8692e475c95bd9fe82 (diff)
downloadnissy-6df92db4d23dd6e2c3aba48caf1e0ea30265abb2.tar.gz
nissy-6df92db4d23dd6e2c3aba48caf1e0ea30265abb2.zip
some progress
Diffstat (limited to 'src/cube.c')
-rw-r--r--src/cube.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cube.c b/src/cube.c
index 5babe28..b9653ce 100644
--- a/src/cube.c
+++ b/src/cube.c
@@ -526,11 +526,12 @@ what_center_at(Cube cube, Center c)
526Corner 526Corner
527what_corner_at(Cube cube, Corner c) 527what_corner_at(Cube cube, Corner c)
528{ 528{
529 int i;
530 unsigned int ui;
531 CubeArray *arr;
532
529 static bool initialized = false; 533 static bool initialized = false;
530 static Corner aux[FACTORIAL8][8]; 534 static Corner aux[FACTORIAL8][8];
531 static int i;
532 static unsigned int ui;
533 static CubeArray *arr;
534 535
535 if (!initialized) { 536 if (!initialized) {
536 for (ui = 0; ui < FACTORIAL8; ui++) { 537 for (ui = 0; ui < FACTORIAL8; ui++) {

Generated with cgit - Back to sebastiano.tronto.net