|
|
@ -339,10 +339,6 @@ public class HeightMap { |
|
|
|
if (zoneLoc.y > this.fullExtentsY) |
|
|
|
if (zoneLoc.y > this.fullExtentsY) |
|
|
|
zoneLoc.setY(this.fullExtentsY); |
|
|
|
zoneLoc.setY(this.fullExtentsY); |
|
|
|
|
|
|
|
|
|
|
|
// Flip Y coordinates
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zoneLoc.setY(this.fullExtentsY - zoneLoc.y); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
float xBucket = (zoneLoc.x / this.bucketWidthX); |
|
|
|
float xBucket = (zoneLoc.x / this.bucketWidthX); |
|
|
|
float yBucket = (zoneLoc.y / this.bucketWidthY); |
|
|
|
float yBucket = (zoneLoc.y / this.bucketWidthY); |
|
|
|
|
|
|
|
|
|
|
|