mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Ensure deterministic client occlusion culling and minor improvements (#14212)
* Ensure deterministic client occlusion culling * Increase culling optimize distance slightly * More accurate culling when sampling
This commit is contained in:
parent
8db4ba9e58
commit
bd42cc2c77
4 changed files with 12 additions and 11 deletions
|
@ -305,9 +305,9 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
bool isBlockOccluded(MapBlock *block, v3s16 cam_pos_nodes, bool simple_check = false)
|
||||
bool isBlockOccluded(MapBlock *block, v3s16 cam_pos_nodes)
|
||||
{
|
||||
return isBlockOccluded(block->getPosRelative(), cam_pos_nodes, simple_check);
|
||||
return isBlockOccluded(block->getPosRelative(), cam_pos_nodes, false);
|
||||
}
|
||||
bool isBlockOccluded(v3s16 pos_relative, v3s16 cam_pos_nodes, bool simple_check = false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue