diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-07 14:15:25 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-07 14:15:25 +0200 |
| commit | e1e539709d6e197cd2f2118e14598fd8c7b42c7b (patch) | |
| tree | 1da9003870abfc85cac79d732fc48583ff9e520e /src/wall-mesh.hpp | |
| parent | 405c6168198fe25eb791f048a37417e6cffb3c42 (diff) | |
.
Diffstat (limited to 'src/wall-mesh.hpp')
| -rw-r--r-- | src/wall-mesh.hpp | 2 |
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; |
