Classes | |
class | Chunk |
Public Member Functions | |
MapBlockFlags (v3s16 min_pos, v3s16 max_pos) | |
Chunk & | getChunk (v3s16 pos) |
Static Public Attributes | |
static constexpr u16 | CHUNK_EDGE = 8 |
static constexpr u16 | CHUNK_MASK = CHUNK_EDGE - 1 |
static constexpr std::size_t | CHUNK_VOLUME = CHUNK_EDGE * CHUNK_EDGE * CHUNK_EDGE |
Private Attributes | |
std::vector< std::unique_ptr< Chunk > > | chunks |
v3s16 | min_pos |
v3s16 | volume |
References CHUNK_EDGE, chunks, min_pos, and volume.
Referenced by ClientMap::updateDrawList().
|
staticconstexpr |
Referenced by MapBlockFlags::Chunk::getAddress(), and getChunk().
|
staticconstexpr |
Referenced by MapBlockFlags::Chunk::getAddress().
|
staticconstexpr |
|
private |
Referenced by MapBlockFlags(), and getChunk().
|
private |
Referenced by getChunk().
|
private |
Referenced by MapBlockFlags(), and getChunk().