Browse Source

Blend cleanup

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

2
src/engine/InterestManagement/Terrain.java

@ -113,7 +113,7 @@ public class Terrain {
// Blend between heights // Blend between heights
return interpolatedChildHeight + interpolatedParentTerrainHeight * (1 - terrainZone.terrain.terrainBlend(terrainLoc)); return interpolatedChildHeight + parentZone.worldAltitude * (1 - terrainZone.terrain.terrainBlend(terrainLoc));
} }

Loading…
Cancel
Save