rename Level.chunksStorage to Level.chunks
This commit is contained in:
@@ -96,7 +96,7 @@ std::shared_ptr<UINode> create_debug_panel(
|
||||
std::to_wstring(ParticlesRenderer::aliveEmitters);
|
||||
}));
|
||||
panel->add(create_label([&]() {
|
||||
return L"chunks: "+std::to_wstring(level.chunksStorage->size())+
|
||||
return L"chunks: "+std::to_wstring(level.chunks->size())+
|
||||
L" visible: "+std::to_wstring(ChunksRenderer::visibleChunks);
|
||||
}));
|
||||
panel->add(create_label([&]() {
|
||||
|
||||
@@ -296,7 +296,7 @@ void Hud::updateWorldGenDebugVisualization() {
|
||||
data[(flippedZ * width + x) * 4 + 1] =
|
||||
chunks.getChunk(ax + ox, az + oz) ? 255 : 0;
|
||||
data[(flippedZ * width + x) * 4 + 0] =
|
||||
level.chunksStorage->fetch(ax + ox, az + oz) ? 255 : 0;
|
||||
level.chunks->fetch(ax + ox, az + oz) ? 255 : 0;
|
||||
|
||||
if (ax < 0 || az < 0 ||
|
||||
ax >= areaWidth || az >= areaHeight) {
|
||||
|
||||
Reference in New Issue
Block a user