summaryrefslogtreecommitdiff
path: root/src/systems/terrain.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-22 00:19:58 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-22 00:19:58 +1000
commit4f09bcb7dc48dc9b0d97ce3a9f73ffc6eee49045 (patch)
treee94bb84660061941c12eb25455a1a855649416a7 /src/systems/terrain.c
parentda1ddc29ac15e511086b8b5343b735a34be1fcea (diff)
error handling loading pbr textures
Diffstat (limited to 'src/systems/terrain.c')
-rw-r--r--src/systems/terrain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systems/terrain.c b/src/systems/terrain.c
index 404c7ea..c19ba33 100644
--- a/src/systems/terrain.c
+++ b/src/systems/terrain.c
@@ -90,7 +90,7 @@ void Terrain_LoadHeightmap(Terrain_Storage* storage, Heightmap hmap, f32 grid_sc
u8* bytes = hmap.image_data;
u8 channel = bytes[position];
float value = (float)channel / 255.0;
- printf("(%d, %d) %d : %f \n", i, j, channel, value);
+ // printf("(%d, %d) %d : %f \n", i, j, channel, value);
assert(index < num_vertices);
f32 height = Heightmap_HeightXZ(&hmap, i, j);