From 60e2b6f05c1f2d7efdc920ada5f9043edb69ebd0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 17 Oct 2022 13:57:30 +0200 Subject: a --- main/draw.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main/draw.cpp b/main/draw.cpp index 691095b2..e000bc51 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -69,11 +69,6 @@ void app::draw_world() const auto offset = project({float(x + BASE_X)*TILE_MAX_DIM*TILE_SIZE[0], float(y + BASE_Y)*TILE_MAX_DIM*TILE_SIZE[1], 0}); - if (x == 0 && y == 0) - { - printf("0 0 --> %f %f\n", offset[0], offset[1]); - fflush(stdout); - } _shader.set_camera_offset(offset + old_camera_offset); auto c = _world[chunk_coords{x, y}]; _floor_mesh.draw(_shader, *c); -- cgit v1.2.3