mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Restore approximate occlusion check
While less precise, it worked better which is what matters in the end.
This commit is contained in:
parent
b14aa305ce
commit
e8716ffede
2 changed files with 14 additions and 27 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue