Collected and moved existing camera infrastructure from game.cpp to camera.cpp and...
[oweals/minetest.git] / src / utility.h
index ea7c118460a14ccc4d1f5fd78a8bbbf8fbc3316f..d331bafbb2896020b90d49e39e1c36dcf57729e8 100644 (file)
@@ -1765,8 +1765,8 @@ inline int myrand_range(int min, int max)
        Miscellaneous functions
 */
 
-bool isBlockInSight(v3s16 blockpos_b, v3f camera_pos, v3f camera_dir, f32 range,
-               f32 *distance_ptr=NULL);
+bool isBlockInSight(v3s16 blockpos_b, v3f camera_pos, v3f camera_dir,
+               f32 camera_fov, f32 range, f32 *distance_ptr=NULL);
 
 /*
        Queue with unique values with fast checking of value existence