mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
Merge branch 'MihailRis:main' into main
This commit is contained in:
commit
e049f4ae0c
61 changed files with 1209 additions and 534 deletions
|
|
@ -272,7 +272,7 @@ void Hud::updateWorldGenDebug() {
|
|||
const auto& chunks = *player.chunks;
|
||||
uint padding = engine.getSettings().chunks.padding.get();
|
||||
auto generator =
|
||||
frontend.getController()->getChunksController()->getGenerator();
|
||||
frontend.getController().getChunksController()->getGenerator();
|
||||
auto debugInfo = generator->createDebugInfo();
|
||||
|
||||
int width = debugImgWorldGen->getWidth();
|
||||
|
|
@ -294,7 +294,7 @@ void Hud::updateWorldGenDebug() {
|
|||
|
||||
bool isInLoadingZone =
|
||||
frontend.getController()
|
||||
->getChunksController()
|
||||
.getChunksController()
|
||||
->isInLoadingZone(player, padding, ax + ox, az + oz);
|
||||
|
||||
data[(flippedZ * width + x) * 4 + 1] =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue