Browse Source

Assignment removed for now

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
68c8d91871
  1. 2
      src/engine/InterestManagement/Terrain.java

2
src/engine/InterestManagement/Terrain.java

@ -87,14 +87,12 @@ public class Terrain { @@ -87,14 +87,12 @@ public class Terrain {
public static float getWorldHeight(Zone currentZone, Vector3fImmutable worldLoc) {
Zone terrainZone;
Zone parentZone;
// Retrieve the next zone with a heightmap attached.
// Zones without a heightmap use the next zone up the
// tree to calculate heights from.
terrainZone = getNextZoneWithTerrain(currentZone);
parentZone = getNextZoneWithTerrain(currentZone.parent);
// Transform world loc into zone space coordinate system

Loading…
Cancel
Save