summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2019-08-23 00:14:45 +0200
committersfan5 <sfan5@live.de>2019-08-24 18:37:25 +0200
commitefbac7e4466ebc576b2cc64b5b782c61136cde66 (patch)
treec8e515c853ed758db26cdf2dfcc73c6e25617cde /src/map.h
parente8716ffede885b3041a5fc97557b336d6699abc5 (diff)
downloadminetest-efbac7e4466ebc576b2cc64b5b782c61136cde66.tar.gz
minetest-efbac7e4466ebc576b2cc64b5b782c61136cde66.tar.bz2
minetest-efbac7e4466ebc576b2cc64b5b782c61136cde66.zip
Improve occlusion culling in corridors with additional check
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 2 insertions, 0 deletions
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<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);