|
|
|
@ -237,12 +237,12 @@ public class HeightMap {
@@ -237,12 +237,12 @@ public class HeightMap {
|
|
|
|
|
|
|
|
|
|
// Heightmap blending is based on distance to edge of zone.
|
|
|
|
|
|
|
|
|
|
if (Bounds.collide(worldLoc, heightMapZone.blendBounds) == true) |
|
|
|
|
// if (Bounds.collide(worldLoc, heightMapZone.blendBounds) == true)
|
|
|
|
|
return interpolatedTerrainHeight; |
|
|
|
|
|
|
|
|
|
// We will need the parent height if we got this far into the method
|
|
|
|
|
|
|
|
|
|
return interpolatePLANAR(worldLoc, heightMapZone, zoneLoc, interpolatedTerrainHeight); |
|
|
|
|
// return interpolatePLANAR(worldLoc, heightMapZone, zoneLoc, interpolatedTerrainHeight);
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|