| 72 | } |
| 73 | |
| 74 | void Full_Chunk::qSetBlock(const Block::Position& position, |
| 75 | CBlock block) |
| 76 | { |
| 77 | addSections(position.y); |
| 78 | updateTopBlockLocation(position); |
| 79 | |
| 80 | auto blockPos = Maths::Convert::chunkBlockToSectionBlockPosition(position); |
| 81 | |
| 82 | editableGetSection(position.y / CHUNK_SIZE) |
| 83 | ->qSetBlock(blockPos, block); |
| 84 | } |
| 85 | |
| 86 | CBlock Full_Chunk::getBlock(const Block::Position& position) const |
| 87 | { |
nothing calls this directly
no test coverage detected