Browse Source

Pixels set to 0

feature-workorder
MagicBot 1 year ago
parent
commit
21a4db8a81
  1. 4
      src/engine/InterestManagement/HeightMap.java

4
src/engine/InterestManagement/HeightMap.java

@ -141,7 +141,7 @@ public class HeightMap {
for (int y = 0; y <= this.fullExtentsY; y++) { for (int y = 0; y <= this.fullExtentsY; y++) {
for (int x = 0; x <= this.fullExtentsX; x++) { for (int x = 0; x <= this.fullExtentsX; x++) {
pixelColorValues[x][y] = 255; pixelColorValues[x][y] = 0;
} }
} }
@ -176,7 +176,7 @@ public class HeightMap {
for (int y = 0; y <= this.fullExtentsY; y++) { for (int y = 0; y <= this.fullExtentsY; y++) {
for (int x = 0; x <= this.fullExtentsX; x++) { for (int x = 0; x <= this.fullExtentsX; x++) {
pixelColorValues[x][y] = 255; pixelColorValues[x][y] = 0;
} }
} }

Loading…
Cancel
Save