diff options
author | sfan5 <sfan5@live.de> | 2019-08-23 00:14:45 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-08-24 18:37:25 +0200 |
commit | efbac7e4466ebc576b2cc64b5b782c61136cde66 (patch) | |
tree | c8e515c853ed758db26cdf2dfcc73c6e25617cde /src/map.h | |
parent | e8716ffede885b3041a5fc97557b336d6699abc5 (diff) | |
download | minetest-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.h | 2 |
1 files changed, 2 insertions, 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); |