diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-10-18 19:18:01 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-10-18 19:18:01 +0300 |
commit | 4e1055543c01af8f17f1ab2e742922575170251e (patch) | |
tree | 04d84e354853d4dbaf8d9a431384c51511c30f30 /src/utility.cpp | |
parent | 8ead29a302e5bad1f67d2e83c4999c9164c6c03d (diff) | |
download | minetest-4e1055543c01af8f17f1ab2e742922575170251e.tar.gz minetest-4e1055543c01af8f17f1ab2e742922575170251e.tar.bz2 minetest-4e1055543c01af8f17f1ab2e742922575170251e.zip |
Tune map rendering and related diagnostics
Diffstat (limited to 'src/utility.cpp')
-rw-r--r-- | src/utility.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |