From 102c5e31fe75bc5c02ddb27afe69968ca8dedeed Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 4 Feb 2011 01:22:07 +0200 Subject: all kinds of tweaking and fixing --- src/utility.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/utility.h') diff --git a/src/utility.h b/src/utility.h index e6e72efcf..a24b57d5d 100644 --- a/src/utility.h +++ b/src/utility.h @@ -1663,7 +1663,8 @@ private: Miscellaneous functions */ -bool isBlockInSight(v3s16 blockpos_b, v3f camera_pos, v3f camera_dir, f32 range); +bool isBlockInSight(v3s16 blockpos_b, v3f camera_pos, v3f camera_dir, f32 range, + f32 *distance_ptr=NULL); /* Queue with unique values with fast checking of value existence -- cgit v1.2.3