From 3d89b33c5f01465372f293abd970160f652824ef Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 5 Oct 2022 16:39:22 +0200 Subject: a --- floor-mesh.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'floor-mesh.cpp') diff --git a/floor-mesh.cpp b/floor-mesh.cpp index 48dfe5f2..7156661e 100644 --- a/floor-mesh.cpp +++ b/floor-mesh.cpp @@ -22,7 +22,7 @@ void floor_mesh::set_tile(quad_data& data, tile& x) CORRADE_INTERNAL_ASSERT(x.ground_image); auto texcoords = x.ground_image.atlas->texcoords_for_id(x.ground_image.variant); - for (std::size_t i = 0; i < 4; i++) + for (size_t i = 0; i < 4; i++) data[i] = { texcoords[i] }; } @@ -69,7 +69,4 @@ std::array, TILE_COUNT> floor_mesh::make_position_array() return array; } -//const decltype(floor_mesh::_index_data) floor_mesh::_index_data = make_index_array(); -//const decltype(floor_mesh::_position_data) floor_mesh::_position_data = make_floor_positions_array(); - } // namespace Magnum::Examples -- cgit v1.2.3