|
|
@ -120,7 +120,7 @@ public class Terrain { |
|
|
|
|
|
|
|
|
|
|
|
public static float getWorldHeight(Zone zone, Vector3fImmutable world_loc) { |
|
|
|
public static float getWorldHeight(Zone zone, Vector3fImmutable world_loc) { |
|
|
|
|
|
|
|
|
|
|
|
// Retrieve the next zone with a terrain defined.
|
|
|
|
// Retrieve the next zone up in the tree with a terrain defined.
|
|
|
|
|
|
|
|
|
|
|
|
Zone terrainZone = getNextZoneWithTerrain(zone); |
|
|
|
Zone terrainZone = getNextZoneWithTerrain(zone); |
|
|
|
Zone parentZone = getNextZoneWithTerrain(zone.parent); |
|
|
|
Zone parentZone = getNextZoneWithTerrain(zone.parent); |
|
|
|