Browse Source

Method cleanup

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
6ac65c73d5
  1. 4
      src/engine/InterestManagement/Terrain.java

4
src/engine/InterestManagement/Terrain.java

@ -187,8 +187,8 @@ public class Terrain { @@ -187,8 +187,8 @@ public class Terrain {
// Normalize terrain loc
Vector2f normalizedLoc = new Vector2f(zoneOffset.x / this.terrain_size.x,
zoneOffset.y / terrain_size.y);
Vector2f normalizedLoc = new Vector2f(Math.abs(zoneOffset.x / this.terrain_size.x),
Math.abs(zoneOffset.y / terrain_size.y));
float xval;

Loading…
Cancel
Save