]> git.tdb.fi Git - libs/gl.git/commitdiff
Properly scale the the bounding sphere for frustum culling
authorMikko Rasa <tdb@tdb.fi>
Mon, 28 Nov 2016 00:20:20 +0000 (02:20 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 28 Nov 2016 00:20:20 +0000 (02:20 +0200)
The original radius must be squared too.  Also, negative distances mean
the sphere is inside the frustum and should not be culled.


No differences found