refactor: warp everything in Cubed namespace

This commit is contained in:
2026-04-20 22:18:02 +08:00
parent 6c74f4582c
commit c2321a0a6e
49 changed files with 288 additions and 66 deletions

View File

@@ -4,6 +4,9 @@
#include <array>
namespace Cubed {
using glm::ivec3;
static constexpr std::array<TreeStructNode, 62> TREE {{
@@ -95,4 +98,6 @@ bool build_tree(Chunk& chunk, const glm::ivec3& pos) {
chunk.set_chunk_block(Chunk::get_index(tree_node), d.id);
}
return true;
}
}