aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--utils/FORMAT.txt15
1 files changed, 13 insertions, 2 deletions
diff --git a/utils/FORMAT.txt b/utils/FORMAT.txt
index 74e7442..091104c 100644
--- a/utils/FORMAT.txt
+++ b/utils/FORMAT.txt
@@ -1,4 +1,8 @@
1The functions readcube() and writecube() use the following format. 1The functions readcube() and writecube() use different formats to read
2and write a cube to text. Not all formats are supported for both input
3and output.
4
5# H48 - standard format for h48 (read, write)
2 6
3Each edge is represented by two letters denoting the sides it belongs to 7Each edge is represented by two letters denoting the sides it belongs to
4and one number denoting its orientation (0 oriented, 1 mis-oriented). 8and one number denoting its orientation (0 oriented, 1 mis-oriented).
@@ -21,4 +25,11 @@ The cube after the moves R'U'F looks like this:
21FL1 BR0 DB0 UR1 UF0 UB0 DL0 FR0 UL1 DF1 BL0 DR0 25FL1 BR0 DB0 UR1 UF0 UB0 DL0 FR0 UL1 DF1 BL0 DR0
22UBL1 DBR1 UFR2 DFR2 DFL2 UBL2 UFL2 DBL0 26UBL1 DBR1 UFR2 DFR2 DFL2 UBL2 UFL2 DBL0
23 27
24More formats might be supported in the future. 28# SRC - representation of the object in C code (write)
29
30The exact format depends on the internal cube representation. It is
31guaranteed that, if OUT is the output in this format, the line
32
33cube_t cube = OUT;
34
35is interpreted correctly by h48.

Generated with cgit - Back to sebastiano.tronto.net