From 2caeb3de2a3b6c79d6c3bce6898eaee07249836f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 7 Oct 2022 14:22:17 +0200 Subject: . --- src/wall-mesh.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wall-mesh.hpp') diff --git a/src/wall-mesh.hpp b/src/wall-mesh.hpp index e23799f4..bf8c533e 100644 --- a/src/wall-mesh.hpp +++ b/src/wall-mesh.hpp @@ -19,10 +19,10 @@ struct wall_mesh final void draw(tile_shader& shader, chunk& c); private: - static constexpr auto COUNT = TILE_MAX_DIM*2 * TILE_MAX_DIM*2; + static constexpr auto COUNT1 = TILE_MAX_DIM*2, COUNT = COUNT1 * COUNT1; struct vertex final { - std::array texcoords; + Vector2 texcoords; }; using quad = std::array; -- cgit v1.2.3