summaryrefslogtreecommitdiffhomepage
path: root/src/wall-mesh.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wall-mesh.hpp')
-rw-r--r--src/wall-mesh.hpp4
1 files changed, 2 insertions, 2 deletions
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<Vector2, 4> texcoords;
+ Vector2 texcoords;
};
using quad = std::array<vertex, 4>;