mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Occlusion culling algorithm based on recursive descend (#13104)
Co-authored-by: DS <vorunbekannt75@web.de>
This commit is contained in:
parent
059f62d7d6
commit
2715cc8bf6
11 changed files with 493 additions and 58 deletions
|
@ -561,6 +561,7 @@ void Client::step(float dtime)
|
|||
block->mesh = nullptr;
|
||||
|
||||
if (r.mesh) {
|
||||
block->solid_sides = r.solid_sides;
|
||||
minimap_mapblock = r.mesh->moveMinimapMapblock();
|
||||
if (minimap_mapblock == NULL)
|
||||
do_mapper_update = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue