Fix WE/NS blocks being incorrectly flipped with /rotate 180

This commit is contained in:
UnknownShadow200 2017-12-26 20:29:35 +11:00
parent 0f20b272a9
commit 5f4d74050f

View File

@ -40,7 +40,7 @@ namespace MCGalaxy.Drawing {
} }
static string[] rotY_90 = new string[] { "N", "E", "S", "W", "NE", "SE", "SW", "NW", "WE", "NS", "WE", "NS" }; static string[] rotY_90 = new string[] { "N", "E", "S", "W", "NE", "SE", "SW", "NW", "WE", "NS", "WE", "NS" };
static string[] rotY_180 = new string[] { "W", "E", "N", "S", "NS", "WE", "NE", "SW", "NW", "SE" }; static string[] rotY_180 = new string[] { "W", "E", "N", "S", "NE", "SW", "NW", "SE" };
static string[] rotY_270 = new string[] { "N", "W", "S", "E", "NE", "NW", "SW", "SE", "WE", "NS", "WE", "NS" }; static string[] rotY_270 = new string[] { "N", "W", "S", "E", "NE", "NW", "SW", "SE", "WE", "NS", "WE", "NS" };
public static CopyState RotateY(CopyState state, int angle, BlockDefinition[] defs) { public static CopyState RotateY(CopyState state, int angle, BlockDefinition[] defs) {
CopyState newState = Clone(state); CopyState newState = Clone(state);