Browse Source

Release bounds after usage.

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
26a3ea4b18
  1. 2
      src/engine/InterestManagement/HeightMap.java

2
src/engine/InterestManagement/HeightMap.java

@ -255,6 +255,8 @@ public class HeightMap {
float zoneArea = (heightMapZone.getBounds().getHalfExtents().x) * float zoneArea = (heightMapZone.getBounds().getHalfExtents().x) *
(heightMapZone.getBounds().getHalfExtents().y); (heightMapZone.getBounds().getHalfExtents().y);
blendBounds.release();
float blendDelta = zoneArea - maxBlendArea; float blendDelta = zoneArea - maxBlendArea;
float currentDelta = zoneArea - currentArea; float currentDelta = zoneArea - currentArea;

Loading…
Cancel
Save