world generation

This commit is contained in:
Kbz-8
2025-05-10 14:48:27 +02:00
parent 55fa8b2c17
commit f4aeb50f91
12 changed files with 189 additions and 67 deletions

View File

@@ -17,7 +17,7 @@ class Chunk
[[nodiscard]] std::uint32_t GetBlock(Scop::Vec3i position) const noexcept;
[[nodiscard]] inline Scop::NonOwningPtr<Scop::Actor> GetActor() const noexcept { return p_actor; }
~Chunk() = default;
~Chunk();
private:
std::vector<std::vector<std::vector<std::uint32_t>>> m_data; // Should be a flat array but I cannot manage to flatten the 3D coordinates correctly