#define LEFT 0 // long edge on the left side of triangle
#define RIGHT 1 // long edge on the right side of triangle
#define DUMMY 255 // for padding
#pragma pack(1)
static ubyte gConfigTable[] =
{
0, 255, 255, 255, 255, 255, DUMMY, DUMMY,
RIGHT, 2, 1, 0, 1, 0, DUMMY, DUMMY,
RIGHT, 1, 0, 2, 0, 2, DUMMY, DUMMY,
LEFT, 1, 2, 0, 0, 2, DUMMY, DUMMY,
RIGHT, 0, 2, 1, 2, 1, DUMMY, DUMMY,
LEFT, 2, 0, 1, 1, 0, DUMMY, DUMMY,
LEFT, 0, 1, 2, 2, 1, DUMMY, DUMMY,
0, 255, 255, 255, 255, 255, DUMMY, DUMMY
};
#pragma pack()
|