Fix reverse coordinates
|
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 85 B |
|
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 162 B |
|
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 85 B |
|
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 189 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 750 B |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 790 B |
|
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 775 B After Width: | Height: | Size: 199 B |
|
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 114 B After Width: | Height: | Size: 94 B |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 85 B |
|
Before Width: | Height: | Size: 775 B After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 798 B After Width: | Height: | Size: 936 B |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 3.1 KiB |
@@ -235,7 +235,7 @@ def highway_map() -> Image:
|
||||
|
||||
|
||||
def create_volume(surface: np.ndarray, heightmap: np.ndarray, make_it_flat: bool = False) -> np.ndarray:
|
||||
volume = np.full((len(surface), 255, len(surface[0])), False)
|
||||
volume = np.full((len(surface[0]), 255, len(surface)), False)
|
||||
for z in range(len(surface)):
|
||||
for x in range(len(surface[0])):
|
||||
if not make_it_flat:
|
||||
|
||||