diff options
| author | Mel <einebeere@gmail.com> | 2022-10-21 01:03:18 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-10-21 01:03:18 +0200 |
| commit | 6ed978051668c08f5a957c97570f364dd580c807 (patch) | |
| tree | e3db93c52fcd86e26bc859d46e755290d2a7f40c /src/World/Chunk.cpp | |
| parent | 0464a83dfaebaa75d6e2d3b7431e84ebd83fccfd (diff) | |
| download | meowcraft-6ed978051668c08f5a957c97570f364dd580c807.tar.zst meowcraft-6ed978051668c08f5a957c97570f364dd580c807.zip | |
Namespace and Folder refactor
Diffstat (limited to 'src/World/Chunk.cpp')
| -rw-r--r-- | src/World/Chunk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World/Chunk.cpp b/src/World/Chunk.cpp index 1d541f7..0d86ddb 100644 --- a/src/World/Chunk.cpp +++ b/src/World/Chunk.cpp @@ -1,13 +1,13 @@ #include "Chunk.hpp" #include "BlockSide.hpp" -namespace MC { +namespace MC::World { void Chunk::set(uint32_t x, uint32_t y, uint32_t z, BlockType type) { m_blocks[x][y][z].type = type; } -Mesh Chunk::mesh() { +GFX::Mesh Chunk::mesh() { std::vector<Vector<3>> positions{}; std::vector<Vector<2>> tex_coords{}; std::vector<uint32_t> indices{}; |
