summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2019-08-23 21:52:11 +0200
committersfan5 <sfan5@live.de>2019-08-24 01:41:55 +0200
commite8716ffede885b3041a5fc97557b336d6699abc5 (patch)
tree804eb75a1fb3ba090b5bf3919bc0592f4595c939 /src/map.h
parentb14aa305ce11ece147620b250b046e2839cf045f (diff)
downloadminetest-e8716ffede885b3041a5fc97557b336d6699abc5.tar.gz
minetest-e8716ffede885b3041a5fc97557b336d6699abc5.tar.bz2
minetest-e8716ffede885b3041a5fc97557b336d6699abc5.zip
Restore approximate occlusion check
While less precise, it worked better which is what matters in the end.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 2 insertions, 2 deletions
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<s16> &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;