Merge pull request #848 from Astazium/main

ObjParser and GBuffer refactor + fixes
This commit is contained in:
MihailRis 2026-10-15 23:18:29 +03:00 • committed by GitHub
commit c64659e06d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 212 additions and 279 deletions

View file

@ -324,7 +324,8 @@ void WorldRenderer::renderInWorldLines(
auto ctx = pctx.sub(lineBatch.get());
bool culling = engine.getSettings().graphics.frustumCulling.get();
level.entities->renderDebug(
*lineBatch, culling ? frustumCulling.get() : nullptr, ctx
*lineBatch, culling ? frustumCulling.get() : nullptr, ctx,
player.currentCamera.get() == player.fpCamera.get() ? player.getEntity() : 0
);
}
}