From fc0dbf31301f42eceb33a452e703d6b41dd80756 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 2 Oct 2022 18:41:48 +0200 Subject: a --- main.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 7e5809f8..237a85c5 100644 --- a/main.cpp +++ b/main.cpp @@ -86,10 +86,6 @@ chunk app::make_test_chunk() void app::draw_chunk(chunk& c) { constexpr auto N = TILE_MAX_DIM; - - for (std::size_t j = 0, k = 0; j < N; j++) - for (std::size_t i = 0; i < N; i++, k++) - _floor_mesh.set_tile(c[k], {i, j}); _floor_mesh.draw(_shader, c); } -- cgit v1.2.3