diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-10-22 12:49:20 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-10-22 12:49:20 +0200 |
| commit | 259c7326f78d5495f5dc51c619932599a5279f68 (patch) | |
| tree | a78e2b9d9624014dac5405c5e26266bf27321101 /src/cube.h | |
| parent | 0032089b5c7dedf057c60fcee17cbdd2b0f8bb87 (diff) | |
| download | nissy-core-259c7326f78d5495f5dc51c619932599a5279f68.tar.gz nissy-core-259c7326f78d5495f5dc51c619932599a5279f68.zip | |
Progess with transformation implementation
Diffstat (limited to '')
| -rw-r--r-- | src/cube.h | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -21,7 +21,12 @@ bool iserror(cube_t); | |||
| 21 | int readmoves(char *, move_t *); | 21 | int readmoves(char *, move_t *); |
| 22 | void writemoves(move_t *, int, char *); | 22 | void writemoves(move_t *, int, char *); |
| 23 | 23 | ||
| 24 | trans_t readtrans(char *); | ||
| 25 | void writetrans(trans_t, char *); | ||
| 26 | |||
| 24 | cube_t move(cube_t, move_t); | 27 | cube_t move(cube_t, move_t); |
| 25 | cube_t inverse(cube_t); | 28 | cube_t inverse(cube_t); |
| 26 | cube_t compose(cube_t, cube_t); | 29 | cube_t compose(cube_t, cube_t); |
| 30 | |||
| 31 | /* See utils/TRANSFORMATIONS.txt for how transformations are applied */ | ||
| 27 | cube_t transform(cube_t, trans_t); | 32 | cube_t transform(cube_t, trans_t); |
