From e8716ffede885b3041a5fc97557b336d6699abc5 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 23 Aug 2019 21:52:11 +0200 Subject: Restore approximate occlusion check While less precise, it worked better which is what matters in the end. --- src/map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index 232a25ac7..8330a7a5f 100644 --- a/src/map.h +++ b/src/map.h @@ -311,8 +311,8 @@ protected: const NodeDefManager *m_nodedef; bool isOccluded(const v3s16 &pos_camera, const v3s16 &pos_target, - const core::aabbox3d &block_bounds, float step, float stepfac, - float offset, u32 needed_count); + float step, float stepfac, float start_offset, float end_offset, + u32 needed_count); private: f32 m_transforming_liquid_loop_count_multiplier = 1.0f; -- cgit v1.2.3