|
|
@ -93,7 +93,7 @@ public class HeightMap { |
|
|
|
|
|
|
|
|
|
|
|
float numOfBucketsY = this.heightmapImage.getHeight() - 1; |
|
|
|
float numOfBucketsY = this.heightmapImage.getHeight() - 1; |
|
|
|
float calculatedWidthY = this.fullExtentsY / numOfBucketsY; |
|
|
|
float calculatedWidthY = this.fullExtentsY / numOfBucketsY; |
|
|
|
this.bucketWidthX = calculatedWidthY; |
|
|
|
this.bucketWidthY = calculatedWidthY; |
|
|
|
|
|
|
|
|
|
|
|
// Generate pixel array from image data
|
|
|
|
// Generate pixel array from image data
|
|
|
|
|
|
|
|
|
|
|
|