Browse Source

max based on min blend

combat-2
MagicBot 1 year ago
parent
commit
8c6eb48876
  1. 2
      src/engine/objects/Zone.java

2
src/engine/objects/Zone.java

@ -198,7 +198,7 @@ public class Zone extends AbstractGameObject {
this.maxBlend = Bounds.borrow(); this.maxBlend = Bounds.borrow();
this.minBlend.setBounds(new Vector2f(this.absX, this.absZ), this.getBounds().getHalfExtents().subtract(heightMap.zone_minBlend, heightMap.zone_minBlend), 0.0f); this.minBlend.setBounds(new Vector2f(this.absX, this.absZ), this.getBounds().getHalfExtents().subtract(heightMap.zone_minBlend, heightMap.zone_minBlend), 0.0f);
this.maxBlend.setBounds(new Vector2f(this.absX, this.absZ), this.getBounds().getHalfExtents().subtract(heightMap.zone_maxBlend, heightMap.zone_maxBlend), 0.0f); this.maxBlend.setBounds(new Vector2f(this.absX, this.absZ), this.minBlend.getHalfExtents().subtract(heightMap.zone_maxBlend, heightMap.zone_maxBlend), 0.0f);
} }
} }

Loading…
Cancel
Save