diff options
Diffstat (limited to '')
-rw-r--r-- | src/chunk.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp index 33cab10..59264fd 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -38,8 +38,6 @@ #define SHRUB_TEXTURE "res/image/shrub.png" #define SHRUB_TOP_TEXTURE "res/image/shrub_top.png" -static constexpr int WATER_LEVEL = 20; - namespace app { struct Block { @@ -50,6 +48,9 @@ class Chunk { public: + static constexpr int WATER_LEVEL = 20; + static constexpr glm::ivec3 CHUNK_SIZE{32, 256, 32}; + static void load(); static void unload(); static std::vector<xe::Image*>& getTextures(); |