Occlusion culling: Fix 'end offset' distance, half this for centre point
authorLars Hofhansl <larsh@apache.org>
Fri, 4 Nov 2016 07:13:17 +0000 (00:13 -0700)
committerparamat <mat.gregory@virginmedia.com>
Tue, 8 Nov 2016 15:12:08 +0000 (15:12 +0000)
commit2b21cac1d80454bd23c5f60c4570b30edba62584
tree9e7b6295b9731749f1c3f61b7715031d4737665f
parent45eab340b90e54134a6f1cde3314c10cce08820b
Occlusion culling: Fix 'end offset' distance, half this for centre point

'endoff', the maximum diagonal of a mapblock, was incorrectly calculated.
Half this value for the centre point of the mapblock.
src/clientmap.cpp