From 4e1055543c01af8f17f1ab2e742922575170251e Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 18 Oct 2011 19:18:01 +0300 Subject: Tune map rendering and related diagnostics --- src/utility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utility.cpp') diff --git a/src/utility.cpp b/src/utility.cpp index 6ce67cb3f..0139281fa 100644 --- a/src/utility.cpp +++ b/src/utility.cpp @@ -236,7 +236,7 @@ bool isBlockInSight(v3s16 blockpos_b, v3f camera_pos, v3f camera_dir, // If block is (nearly) touching the camera, don't // bother validating further (that is, render it anyway) - if(d > block_max_radius * 1.5) + if(d > block_max_radius) { // Cosine of the angle between the camera direction // and the block direction (camera_dir is an unit vector) -- cgit v1.2.3