diff options
author | sfan5 <sfan5@live.de> | 2019-08-23 21:52:11 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-08-24 01:41:55 +0200 |
commit | e8716ffede885b3041a5fc97557b336d6699abc5 (patch) | |
tree | 804eb75a1fb3ba090b5bf3919bc0592f4595c939 /src/map.h | |
parent | b14aa305ce11ece147620b250b046e2839cf045f (diff) | |
download | minetest-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |