summary refs log tree commit diff
path: root/src/World/Chunk.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World/Chunk.hpp')
-rw-r--r--src/World/Chunk.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/World/Chunk.hpp b/src/World/Chunk.hpp
index 0a5f269..7a93f5a 100644
--- a/src/World/Chunk.hpp
+++ b/src/World/Chunk.hpp
@@ -1,22 +1,23 @@
 #pragma once
 
 #include <cstdint>
+#include <optional>
 #include "BlockType.hpp"
-#include "../Mesh.hpp"
+#include "../GFX/Mesh.hpp"
 #include "BlockSide.hpp"
+#include "../GFX/Binder.hpp"
 
 #define CHUNK_WIDTH 16
 #define CHUNK_HEIGHT 32
 
-namespace MC {
+namespace MC::World {
 
 class Chunk {
 public:
     Chunk() : m_blocks{} {};
 
     void set(uint32_t x, uint32_t y, uint32_t z, BlockType type);
-
-    Mesh mesh();
+    GFX::Mesh mesh();
 private:
     bool is_face_visible(uint32_t x, uint32_t y, uint32_t z, BlockSide side);