mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
Fix ForgeDirection.ROTATION_MATRIX for issue #313
This commit is contained in:
1 parent
b73c85c82c
commit
9c8fb046be
1 file changed
+4
-4
@@ -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},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user