mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Improve occlusion culling in corridors with additional check
This commit is contained in:
parent
e8716ffede
commit
efbac7e446
2 changed files with 75 additions and 0 deletions
|
@ -310,6 +310,8 @@ protected:
|
|||
// This stores the properties of the nodes on the map.
|
||||
const NodeDefManager *m_nodedef;
|
||||
|
||||
bool determineAdditionalOcclusionCheck(const v3s16 &pos_camera,
|
||||
const core::aabbox3d<s16> &block_bounds, v3s16 &check);
|
||||
bool isOccluded(const v3s16 &pos_camera, const v3s16 &pos_target,
|
||||
float step, float stepfac, float start_offset, float end_offset,
|
||||
u32 needed_count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue