|
|
@ -91,7 +91,7 @@ public class HeightMap { |
|
|
|
float calculatedWidthX = this.fullExtentsX / numOfBucketsX; |
|
|
|
float calculatedWidthX = this.fullExtentsX / numOfBucketsX; |
|
|
|
this.bucketWidthX = calculatedWidthX; |
|
|
|
this.bucketWidthX = calculatedWidthX; |
|
|
|
|
|
|
|
|
|
|
|
float numOfBucketsY = this.heightmapImage.getWidth() - 1; |
|
|
|
float numOfBucketsY = this.heightmapImage.getHeight() - 1; |
|
|
|
float calculatedWidthY = this.fullExtentsY / numOfBucketsY; |
|
|
|
float calculatedWidthY = this.fullExtentsY / numOfBucketsY; |
|
|
|
this.bucketWidthX = calculatedWidthY; |
|
|
|
this.bucketWidthX = calculatedWidthY; |
|
|
|
|
|
|
|
|
|
|
|