From 7268de6e1e7cca116767ecc9072be4f707ce1990 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 16 Sep 2023 08:06:31 -0400 Subject: [PATCH] Test of raw heightmaps --- src/engine/InterestManagement/HeightMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/InterestManagement/HeightMap.java b/src/engine/InterestManagement/HeightMap.java index ba4df79a..85c03158 100644 --- a/src/engine/InterestManagement/HeightMap.java +++ b/src/engine/InterestManagement/HeightMap.java @@ -93,7 +93,7 @@ public class HeightMap { float numOfBucketsY = this.heightmapImage.getHeight() - 1; float calculatedWidthY = this.fullExtentsY / numOfBucketsY; - this.bucketWidthX = calculatedWidthY; + this.bucketWidthY = calculatedWidthY; // Generate pixel array from image data