summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map.h b/src/map.h
index d26da37a6..232a25ac7 100644
--- a/src/map.h
+++ b/src/map.h
@@ -310,8 +310,9 @@ protected:
// This stores the properties of the nodes on the map.
const NodeDefManager *m_nodedef;
- bool isOccluded(v3s16 pos_origin, v3s16 pos_blockcenter, float step,
- float stepfac, float start_offset, float end_offset, u32 needed_count);
+ 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);
private:
f32 m_transforming_liquid_loop_count_multiplier = 1.0f;