diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-22 00:19:58 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-22 00:19:58 +1000 |
commit | 4f09bcb7dc48dc9b0d97ce3a9f73ffc6eee49045 (patch) | |
tree | e94bb84660061941c12eb25455a1a855649416a7 /src/systems | |
parent | da1ddc29ac15e511086b8b5343b735a34be1fcea (diff) |
error handling loading pbr textures
Diffstat (limited to 'src/systems')
-rw-r--r-- | src/systems/terrain.c | 2 |
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); |