mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
update ChunksStorage
This commit is contained in:
parent
91fa2838d6
commit
436bfd24ba
6 changed files with 46 additions and 44 deletions
|
|
@ -295,7 +295,7 @@ void Hud::updateWorldGenDebugVisualization() {
|
|||
data[(flippedZ * width + x) * 4 + 1] =
|
||||
level.chunks->getChunk(ax + ox, az + oz) ? 255 : 0;
|
||||
data[(flippedZ * width + x) * 4 + 0] =
|
||||
level.chunksStorage->get(ax + ox, az + oz) ? 255 : 0;
|
||||
level.chunksStorage->fetch(ax + ox, az + oz) ? 255 : 0;
|
||||
|
||||
if (ax < 0 || az < 0 ||
|
||||
ax >= areaWidth || az >= areaHeight) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue