summaryrefslogtreecommitdiffhomepage
path: root/floor-mesh.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-02 03:36:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-02 03:36:42 +0200
commit5193b9575d61d410a932f3f7b0662f01c4d8268b (patch)
tree718c705e8c6de260565ccbb231ecbf2b42d063ff /floor-mesh.hpp
parent35cf1d65b454985c38b1e00a91670663b1583670 (diff)
MeshView now works
Diffstat (limited to 'floor-mesh.hpp')
-rw-r--r--floor-mesh.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/floor-mesh.hpp b/floor-mesh.hpp
index a1b0fac5..0667c9e1 100644
--- a/floor-mesh.hpp
+++ b/floor-mesh.hpp
@@ -12,7 +12,7 @@
namespace Magnum::Examples {
struct tile_shader;
-struct tile_image;
+struct chunk;
struct floor_mesh final
{
@@ -21,7 +21,7 @@ struct floor_mesh final
floor_mesh(const floor_mesh&) = delete;
void set_tile(tile& x, local_coords pt);
- void draw(tile_shader& shader);
+ void draw(tile_shader& shader, chunk& c);
private:
struct vertex_data final {