aboutsummaryrefslogtreecommitdiff
path: root/src/core/io_cube.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-04 12:15:37 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-04 12:15:37 +0200
commit0de1530f4cea21f2bc0a0e0f1cbf9da016c7bda5 (patch)
treea0a64424190588e5f734c257dd312e1f89fcd1eb /src/core/io_cube.h
parent80b065f757240af7920862b3e09f32a6dc06d392 (diff)
downloadnissy-core-0de1530f4cea21f2bc0a0e0f1cbf9da016c7bda5.tar.gz
nissy-core-0de1530f4cea21f2bc0a0e0f1cbf9da016c7bda5.zip
Revert table-based transformations
Long live the giant switch!
Diffstat (limited to 'src/core/io_cube.h')
-rw-r--r--src/core/io_cube.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/io_cube.h b/src/core/io_cube.h
index 58b332c..9ae82d7 100644
--- a/src/core/io_cube.h
+++ b/src/core/io_cube.h
@@ -143,7 +143,7 @@ readcube_B32(const char *buf)
143 "Error reading B32 edge %d (char %d)\n", i, i+9); 143 "Error reading B32 edge %d (char %d)\n", i, i+9);
144 } 144 }
145 145
146 return cubefromarray_ce(c, e); 146 return cubefromarray(c, e);
147} 147}
148 148
149STATIC cube_t 149STATIC cube_t
@@ -178,7 +178,7 @@ readcube_H48(const char *buf)
178 c[i] = piece | orient; 178 c[i] = piece | orient;
179 } 179 }
180 180
181 return cubefromarray_ce(c, e); 181 return cubefromarray(c, e);
182} 182}
183 183
184STATIC uint8_t 184STATIC uint8_t
@@ -210,7 +210,7 @@ readcube_LST(const char *buf)
210 for (i = 0; i < 12; i++) 210 for (i = 0; i < 12; i++)
211 e[i] = readpiece_LST(&buf); 211 e[i] = readpiece_LST(&buf);
212 212
213 return cubefromarray_ce(c, e); 213 return cubefromarray(c, e);
214} 214}
215 215
216STATIC int 216STATIC int

Generated with cgit - Back to sebastiano.tronto.net