diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-17 13:57:30 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-17 13:57:30 +0200 |
commit | 60e2b6f05c1f2d7efdc920ada5f9043edb69ebd0 (patch) | |
tree | 9568e9b3c5acf5d572138245c2bc78966838e342 /main | |
parent | f3cb626f7bcb2d181f58826e435941eb47613260 (diff) |
a
Diffstat (limited to 'main')
-rw-r--r-- | main/draw.cpp | 5 |
1 files changed, 0 insertions, 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); |