summaryrefslogtreecommitdiffhomepage
path: root/src/wall-mesh.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-07 14:15:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-07 14:15:25 +0200
commite1e539709d6e197cd2f2118e14598fd8c7b42c7b (patch)
tree1da9003870abfc85cac79d732fc48583ff9e520e /src/wall-mesh.hpp
parent405c6168198fe25eb791f048a37417e6cffb3c42 (diff)
.
Diffstat (limited to 'src/wall-mesh.hpp')
-rw-r--r--src/wall-mesh.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wall-mesh.hpp b/src/wall-mesh.hpp
index e9678e3e..e23799f4 100644
--- a/src/wall-mesh.hpp
+++ b/src/wall-mesh.hpp
@@ -19,7 +19,7 @@ struct wall_mesh final
void draw(tile_shader& shader, chunk& c);
private:
- static constexpr auto COUNT1 = TILE_MAX_DIM*2, COUNT = COUNT1 * COUNT1;
+ static constexpr auto COUNT = TILE_MAX_DIM*2 * TILE_MAX_DIM*2;
struct vertex final {
std::array<Vector2, 4> texcoords;