Test of raw heightmaps
This commit is contained in:
1 parent
403bff27b4
commit
fc602ce9f4
1 file changed
+1
-1
@@ -91,7 +91,7 @@ public class HeightMap {
|
||||
float calculatedWidthX = this.fullExtentsX / numOfBucketsX;
|
||||
this.bucketWidthX = calculatedWidthX;
|
||||
|
||||
float numOfBucketsY = this.heightmapImage.getWidth() - 1;
|
||||
float numOfBucketsY = this.heightmapImage.getHeight() - 1;
|
||||
float calculatedWidthY = this.fullExtentsY / numOfBucketsY;
|
||||
this.bucketWidthX = calculatedWidthY;
|
||||
|
||||
|
||||
Reference in new issue
Block a user