Browse Source

Test of raw heightmaps

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
7268de6e1e
  1. 2
      src/engine/InterestManagement/HeightMap.java

2
src/engine/InterestManagement/HeightMap.java

@ -93,7 +93,7 @@ public class HeightMap { @@ -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

Loading…
Cancel
Save