From 4f09bcb7dc48dc9b0d97ce3a9f73ffc6eee49045 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Mon, 22 Jul 2024 00:19:58 +1000 Subject: error handling loading pbr textures --- src/systems/terrain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/systems') 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); -- cgit v1.2.3-70-g09d2