diff --git a/src/engine/InterestManagement/HeightMap.java b/src/engine/InterestManagement/HeightMap.java index b71a1be5..566977cd 100644 --- a/src/engine/InterestManagement/HeightMap.java +++ b/src/engine/InterestManagement/HeightMap.java @@ -339,10 +339,6 @@ public class HeightMap { if (zoneLoc.y > this.fullExtentsY) zoneLoc.setY(this.fullExtentsY); - // Flip Y coordinates - - zoneLoc.setY(this.fullExtentsY - zoneLoc.y); - float xBucket = (zoneLoc.x / this.bucketWidthX); float yBucket = (zoneLoc.y / this.bucketWidthY); diff --git a/src/engine/gameManager/ZoneManager.java b/src/engine/gameManager/ZoneManager.java index 991a2b06..0c6c4a1f 100644 --- a/src/engine/gameManager/ZoneManager.java +++ b/src/engine/gameManager/ZoneManager.java @@ -305,9 +305,6 @@ public enum ZoneManager { localCoords = new Vector2f(worldVector.x, worldVector.z); localCoords = localCoords.subtract(zoneOrigin); - localCoords.setY((serverZone.bounds.getHalfExtents().y * 2) - localCoords.y); - - // TODO : Make sure this value does not go outside the zone's bounds. return localCoords;