From efbac7e4466ebc576b2cc64b5b782c61136cde66 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 23 Aug 2019 00:14:45 +0200 Subject: Improve occlusion culling in corridors with additional check --- src/map.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index 8330a7a5f..67e00c6f4 100644 --- a/src/map.h +++ b/src/map.h @@ -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 &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); -- cgit v1.2.3