summaryrefslogtreecommitdiffhomepage
path: root/draw/floor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'draw/floor.cpp')
-rw-r--r--draw/floor.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/draw/floor.cpp b/draw/floor.cpp
index 9f8ed2ab..635b8d8f 100644
--- a/draw/floor.cpp
+++ b/draw/floor.cpp
@@ -7,16 +7,14 @@
namespace floormat {
-constexpr auto quad_index_count = 6;
-
-floor_mesh::floor_mesh()
-{
-}
+floor_mesh::floor_mesh() = default;
//#define FM_DEBUG_DRAW_COUNT
void floor_mesh::draw(tile_shader& shader, chunk& c)
{
+ constexpr auto quad_index_count = 6;
+
auto [mesh_, ids] = c.ensure_ground_mesh();
tile_atlas* last_atlas = nullptr;