Go to the source code of this file.
Defines | |
#define | ALL (-2) |
#define | CENTER (-1) |
#define | NULL_FACE (-1) |
#define | FACES (0) |
#define | WEST (0) |
#define | EAST (1) |
#define | SOUTH (2) |
#define | NORTH (3) |
#define | FRONT (4) |
#define | BACK (5) |
#define | INSIDE (6) |
#define | NULL_CORNER (-1) |
#define | CORNERS (10) |
#define | WSF (10) |
#define | WSB (11) |
#define | WNF (12) |
#define | WNB (13) |
#define | ESF (14) |
#define | ESB (15) |
#define | ENF (16) |
#define | ENB (17) |
#define | WS (10) |
#define | WN (11) |
#define | ES (12) |
#define | EN (13) |
#define | NULL_EDGE (-1) |
#define | EDGES (20) |
#define | WSC (20) |
#define | WNC (21) |
#define | WCF (22) |
#define | WCB (23) |
#define | CSF (24) |
#define | CSB (25) |
#define | CNF (26) |
#define | CNB (27) |
#define | ENC (28) |
#define | ESC (29) |
#define | ECB (30) |
#define | ECF (31) |
Variables | |
const int | DirCorners2 [6][3] |
const int | DirCorners3 [8][7] |
const int | DirEdges3 [8][9] |
#define ALL (-2) |
#define BACK (5) |
#define CENTER (-1) |
#define CNB (27) |
#define CNF (26) |
#define CORNERS (10) |
#define CSB (25) |
#define CSF (24) |
#define EAST (1) |
#define ECB (30) |
#define ECF (31) |
#define EDGES (20) |
#define EN (13) |
#define ENB (17) |
#define ENC (28) |
#define ENF (16) |
#define ES (12) |
#define ESB (15) |
#define ESC (29) |
#define ESF (14) |
#define FACES (0) |
#define FRONT (4) |
#define INSIDE (6) |
#define NORTH (3) |
#define NULL_CORNER (-1) |
#define NULL_EDGE (-1) |
#define NULL_FACE (-1) |
#define SOUTH (2) |
#define WCB (23) |
#define WCF (22) |
#define WEST (0) |
#define WN (11) |
#define WNB (13) |
#define WNC (21) |
#define WNF (12) |
#define WS (10) |
#define WSB (11) |
#define WSC (20) |
#define WSF (10) |
const int DirCorners2[6][3] |
{ {WS,WN,NULL_CORNER},{ES,EN,NULL_CORNER}, {WS,ES,NULL_CORNER},{WN,EN,NULL_CORNER}, {WS,WN,ES}, {ES,EN,WN} }
const int DirCorners3[8][7] |
{ {WSF,WSB,WNF,WNB,NULL_CORNER,NULL_CORNER,NULL_CORNER}, {ESF,ESB,ENF,ENB,NULL_CORNER,NULL_CORNER,NULL_CORNER}, {WSF,WSB,ESF,ESB,NULL_CORNER,NULL_CORNER,NULL_CORNER}, {WNF,WNB,ENF,ENB,NULL_CORNER,NULL_CORNER,NULL_CORNER}, {WSF,WNF,ESF,ENF,NULL_CORNER,NULL_CORNER,NULL_CORNER}, {WSB,WNB,ESB,ENB,NULL_CORNER,NULL_CORNER,NULL_CORNER}, {WSF,WSB,WNF,WNB,ESF,ESB,ENF}, {ESF,ESB,ENF,ENB,WNF,WNB,WSB} }
const int DirEdges3[8][9] |
{ {WSC,WNC,WCF,WCB,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE}, {ENC,ESC,ECB,ECF,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE}, {WSC,CSF,CSB,ESC,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE}, {WNC,CNF,CNB,ENC,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE}, {WCF,CSF,CNF,ECF,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE}, {WCB,CSB,CNB,ECB,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE,NULL_EDGE}, {WSC,WNC,WCF,WCB,CSF,CSB,ESC,CNF,ECF}, {ENC,ESC,ECB,ECF,WNC,CNF,CNB,WCB,CSB} }