mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
rename Level.chunksStorage to Level.chunks
This commit is contained in:
parent
70370904db
commit
48d94036fd
14 changed files with 46 additions and 51 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue