Fix ForgeDirection.ROTATION_MATRIX for issue #313

This commit is contained in:
LexManos 2012-12-12 01:02:24 -08:00
parent b73c85c82c
commit 9c8fb046be

View file

@ -33,12 +33,12 @@ public enum ForgeDirection
public static final int[] OPPOSITES = {1, 0, 3, 2, 5, 4, 6};
// Left hand rule rotation matrix for all possible axes of rotation
public static final int[][] ROTATION_MATRIX = {
{0, 1, 4, 5, 2, 3, 6},
{0, 1, 5, 4, 3, 2, 6},
{0, 1, 4, 5, 3, 2, 6},
{0, 1, 5, 4, 2, 3, 6},
{5, 4, 2, 3, 0, 1, 6},
{4, 5, 2, 3, 1, 0, 6},
{2, 3, 0, 1, 4, 5, 6},
{3, 2, 1, 0, 4, 5, 6},
{2, 3, 1, 0, 4, 5, 6},
{3, 2, 0, 1, 4, 5, 6},
{0, 1, 2, 3, 4, 5, 6},
};