diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-23 15:42:11 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-23 15:42:11 +0200 |
| commit | 9c209afd81e4c51e4fc2717c0eeff4a5d116bcb0 (patch) | |
| tree | e590922e2bd34cb802cef96c1c8d8ba935da4f75 /src/nissy.h | |
| parent | 039267a278bb9e0580e8aebd85ef5f3ed774688f (diff) | |
| download | nissy-core-9c209afd81e4c51e4fc2717c0eeff4a5d116bcb0.tar.gz nissy-core-9c209afd81e4c51e4fc2717c0eeff4a5d116bcb0.zip | |
Added orientation to getcube
Diffstat (limited to '')
| -rw-r--r-- | src/nissy.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/nissy.h b/src/nissy.h index 734487d..c827275 100644 --- a/src/nissy.h +++ b/src/nissy.h | |||
| @@ -200,10 +200,11 @@ range will be adjusted before using it. The option "fix" also fixes parity and | |||
| 200 | orientation issues, resulting always in a solvable cube. | 200 | orientation issues, resulting always in a solvable cube. |
| 201 | 201 | ||
| 202 | Parameters: | 202 | Parameters: |
| 203 | ep - The edge permutation, 0 <= ep <= 479001600 (12!) | 203 | ep - The edge permutation, 0 <= ep < 479001600 (12!) |
| 204 | eo - The edge orientation, 0 <= eo <= 2047 (2^11) | 204 | eo - The edge orientation, 0 <= eo < 2047 (2^11) |
| 205 | cp - The corner permutation, 0 <= cp <= 40320 (8!) | 205 | cp - The corner permutation, 0 <= cp < 40320 (8!) |
| 206 | co - The corner orientation, 0 <= co <= 2187 (3^7) | 206 | co - The corner orientation, 0 <= co < 2187 (3^7) |
| 207 | orient - The orientation of the cube, 0 <= orient < 24 | ||
| 207 | options - Other options. | 208 | options - Other options. |
| 208 | result - The return parameter for the resulting cube. | 209 | result - The return parameter for the resulting cube. |
| 209 | 210 | ||
| @@ -218,6 +219,7 @@ nissy_getcube( | |||
| 218 | long long eo, | 219 | long long eo, |
| 219 | long long cp, | 220 | long long cp, |
| 220 | long long co, | 221 | long long co, |
| 222 | long long orient, | ||
| 221 | const char *options, | 223 | const char *options, |
| 222 | char result[static NISSY_SIZE_CUBE] | 224 | char result[static NISSY_SIZE_CUBE] |
| 223 | ); | 225 | ); |
