forked from MagicBane/Server
Test of raw heightmaps
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user