Test of raw heightmaps

This commit is contained in:
2023-09-16 08:06:31 -04:00
parent fc602ce9f4
commit 7268de6e1e
+1 -1
View File
@@ -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