Release bounds after usage.

This commit is contained in:
2023-09-20 11:38:39 -04:00
parent c7b2245005
commit 26a3ea4b18
@@ -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;