aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-22 14:11:38 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-22 14:11:38 +0200
commite391c4624055138f075c0e5772ccaf8ede094b5a (patch)
tree56f0566dda438d2342b71a200db6b48a5bc70da4 /src
parentcd866d68cf1bf6ea928cc48a4f2b753c0b1baa6f (diff)
downloadnissy-core-e391c4624055138f075c0e5772ccaf8ede094b5a.tar.gz
nissy-core-e391c4624055138f075c0e5772ccaf8ede094b5a.zip
Updated documentation
Diffstat (limited to 'src')
-rw-r--r--src/arch/avx2.h2
-rw-r--r--src/nissy.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/avx2.h b/src/arch/avx2.h
index ad4ee0d..b1f8a59 100644
--- a/src/arch/avx2.h
+++ b/src/arch/avx2.h
@@ -134,7 +134,7 @@ inverse(cube_t c)
134 vp = _mm256_andnot_si256(ORIENT_AVX2, vi); 134 vp = _mm256_andnot_si256(ORIENT_AVX2, vi);
135 ret = _mm256_or_si256(vp, vo); 135 ret = _mm256_or_si256(vp, vo);
136 ret = _mm256_and_si256(ret, USED_AVX2); 136 ret = _mm256_and_si256(ret, USED_AVX2);
137 137
138 return invertco(ret); 138 return invertco(ret);
139} 139}
140 140
diff --git a/src/nissy.h b/src/nissy.h
index 963571f..4b2d1eb 100644
--- a/src/nissy.h
+++ b/src/nissy.h
@@ -2,14 +2,14 @@
2This is libnissy (temporarily also known as h48), a Rubik's cube library. 2This is libnissy (temporarily also known as h48), a Rubik's cube library.
3 3
4All the functions return 0 or a positive integer in case of success and 4All the functions return 0 or a positive integer in case of success and
5a negative integer in case of error, unless otherwise specified. See at 5a negative integer in case of error, unless otherwise specified. See
6the bottom of this file for the list of error codes and their meaning. 6below for the list of error codes and their meaning.
7 7
8TODO: explain cube format 8Cubes are passed as strings in the cccccccc=eeeeeeeeeeee=r format,
9see the README.md file for more information.
9 10
10Accepted moves are U, D, R, L, F and B, optionally followed by a 2, 11Accepted moves are U, D, R, L, F and B, optionally followed by a 2,
11a ' or a 3. 12a ' or a 3.
12TODO update when we accept also wide moves, slices and rotations
13 13
14A transformation must be given in the format 14A transformation must be given in the format
15 (rotation|mirrored) (2 letters) 15 (rotation|mirrored) (2 letters)

Generated with cgit - Back to sebastiano.tronto.net