From 5e1836a0f8c353844c6069684ae3f4ee9f566f67 Mon Sep 17 00:00:00 2001 From: Jim Bilbrey Date: Mon, 19 Nov 2012 00:33:27 -0500 Subject: [PATCH] update cardinal directions to match Minecraft --- .../com/sk89q/worldedit/PlayerDirection.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/PlayerDirection.java b/src/main/java/com/sk89q/worldedit/PlayerDirection.java index b381ecff0..459f2e364 100644 --- a/src/main/java/com/sk89q/worldedit/PlayerDirection.java +++ b/src/main/java/com/sk89q/worldedit/PlayerDirection.java @@ -23,14 +23,14 @@ package com.sk89q.worldedit; * Direction. */ public enum PlayerDirection { - NORTH(new Vector(-1, 0, 0), new Vector(0, 0, 1), true), - NORTH_EAST((new Vector(-1, 0, -1)).normalize(), (new Vector(-1, 0, 1)).normalize(), false), - EAST(new Vector(0, 0, -1), new Vector(-1, 0, 0), true), - SOUTH_EAST((new Vector(1, 0, -1)).normalize(), (new Vector(-1, 0, -1)).normalize(), false), - SOUTH(new Vector(1, 0, 0), new Vector(0, 0, -1), true), - SOUTH_WEST((new Vector(1, 0, 1)).normalize(), (new Vector(1, 0, -1)).normalize(), false), - WEST(new Vector(0, 0, 1), new Vector(1, 0, 0), true), - NORTH_WEST((new Vector(-1, 0, 1)).normalize(), (new Vector(1, 0, 1)).normalize(), false), + NORTH(new Vector(0, 0, -1), new Vector(-1, 0, 0), true), + NORTH_EAST((new Vector(1, 0, -1)).normalize(), (new Vector(-1, 0, -1)).normalize(), false), + EAST(new Vector(1, 0, 0), new Vector(0, 0, -1), true), + SOUTH_EAST((new Vector(1, 0, 1)).normalize(), (new Vector(1, 0, -1)).normalize(), false), + SOUTH(new Vector(0, 0, 1), new Vector(1, 0, 0), true), + SOUTH_WEST((new Vector(-1, 0, 1)).normalize(), (new Vector(1, 0, 1)).normalize(), false), + WEST(new Vector(-1, 0, 0), new Vector(0, 0, 1), true), + NORTH_WEST((new Vector(-1, 0, -1)).normalize(), (new Vector(-1, 0, 1)).normalize(), false), UP(new Vector(0, 1, 0), new Vector(0, 0, 1), true), DOWN(new Vector(0, -1, 0), new Vector(0, 0, 1), true);