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 {
// Normalize terrain loc // Normalize terrain loc
Vector2f normalizedLoc = new Vector2f(zoneOffset.x / this.terrain_size.x, Vector2f normalizedLoc = new Vector2f(Math.abs(zoneOffset.x / this.terrain_size.x),
zoneOffset.y / terrain_size.y); Math.abs(zoneOffset.y / terrain_size.y));
float xval; float xval;

Loading…
Cancel
Save