Flip Flop

This commit is contained in:
2023-10-07 20:19:30 -04:00
parent 6a750f4eb2
commit 7dcde390cd
2 changed files with 0 additions and 7 deletions
@@ -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);
-3
View File
@@ -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;