summaryrefslogtreecommitdiffhomepage
path: root/draw/floor.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-01 16:35:03 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-01 16:35:03 +0100
commit704e9bd3ac58484a5209e186798076f1cbd432ef (patch)
tree511479ebd088d5c9524803c6f3fe4641009b58bc /draw/floor.hpp
parent7ff1f0911e0b0c314d6e639887b705d6fc0d78aa (diff)
wip
Diffstat (limited to 'draw/floor.hpp')
-rw-r--r--draw/floor.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/draw/floor.hpp b/draw/floor.hpp
index 4a273dfc..4ece92eb 100644
--- a/draw/floor.hpp
+++ b/draw/floor.hpp
@@ -10,10 +10,10 @@
namespace floormat {
-struct tile_shader;
-struct chunk;
struct tile_ref;
struct tile_proto;
+struct tile_shader;
+struct chunk;
struct floor_mesh final
{
@@ -34,7 +34,7 @@ private:
GL::Buffer _vertex_buffer{std::array<quad_data, TILE_COUNT>{}, Magnum::GL::BufferUsage::DynamicDraw},
_index_buffer{make_index_array()}, _positions_buffer{make_position_array()};
- static void set_tile(quad_data& data, tile& x);
+ static void set_tile(quad_data& data, tile_ref& x);
};
} // namespace floormat