forked from MagicBane/Server
Assignment removed for now
This commit is contained in:
@@ -87,14 +87,12 @@ public class Terrain {
|
|||||||
public static float getWorldHeight(Zone currentZone, Vector3fImmutable worldLoc) {
|
public static float getWorldHeight(Zone currentZone, Vector3fImmutable worldLoc) {
|
||||||
|
|
||||||
Zone terrainZone;
|
Zone terrainZone;
|
||||||
Zone parentZone;
|
|
||||||
|
|
||||||
// Retrieve the next zone with a heightmap attached.
|
// Retrieve the next zone with a heightmap attached.
|
||||||
// Zones without a heightmap use the next zone up the
|
// Zones without a heightmap use the next zone up the
|
||||||
// tree to calculate heights from.
|
// tree to calculate heights from.
|
||||||
|
|
||||||
terrainZone = getNextZoneWithTerrain(currentZone);
|
terrainZone = getNextZoneWithTerrain(currentZone);
|
||||||
parentZone = getNextZoneWithTerrain(currentZone.parent);
|
|
||||||
|
|
||||||
// Transform world loc into zone space coordinate system
|
// Transform world loc into zone space coordinate system
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user