aboutsummaryrefslogtreecommitdiff
path: root/src/cube.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-10-27 16:25:15 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-10-27 16:25:15 +0200
commit2a8d66906dde19ffb7315fb3f60a396a71612037 (patch)
treeaa6c340c6de7cffd65b23f93b4479b128036250b /src/cube.c
parent287f6c4067a206fb1c18eb779ef8463f06c0e5e1 (diff)
downloadnissy-core-2a8d66906dde19ffb7315fb3f60a396a71612037.tar.gz
nissy-core-2a8d66906dde19ffb7315fb3f60a396a71612037.zip
Small cleanup
Diffstat (limited to '')
-rw-r--r--src/cube.c26
1 files changed, 2 insertions, 24 deletions
diff --git a/src/cube.c b/src/cube.c
index 48bc2f5..87570b4 100644
--- a/src/cube.c
+++ b/src/cube.c
@@ -152,30 +152,8 @@ static char *transstr[] = {
152}; 152};
153 153
154cube_t solvedcube = { 154cube_t solvedcube = {
155 .c = { 155 .c = {0, 1, 2, 3, 4, 5, 6, 7},
156 [_c_ufr] = _c_ufr, 156 .e = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}
157 [_c_ubl] = _c_ubl,
158 [_c_dfl] = _c_dfl,
159 [_c_dbr] = _c_dbr,
160 [_c_ufl] = _c_ufl,
161 [_c_ubr] = _c_ubr,
162 [_c_dfr] = _c_dfr,
163 [_c_dbl] = _c_dbl
164 },
165 .e = {
166 [_e_uf] = _e_uf,
167 [_e_ub] = _e_ub,
168 [_e_db] = _e_db,
169 [_e_df] = _e_df,
170 [_e_ur] = _e_ur,
171 [_e_ul] = _e_ul,
172 [_e_dl] = _e_dl,
173 [_e_dr] = _e_dr,
174 [_e_fr] = _e_fr,
175 [_e_fl] = _e_fl,
176 [_e_bl] = _e_bl,
177 [_e_br] = _e_br
178 }
179}; 157};
180 158
181static cube_t errorcube = { .e = {0}, .c = {0} }; 159static cube_t errorcube = { .e = {0}, .c = {0} };

Generated with cgit - Back to sebastiano.tronto.net