]> git.tdb.fi Git - libs/gl.git/commit
Treat an empty bounding sphere as absent for frustum culling
authorMikko Rasa <tdb@tdb.fi>
Fri, 31 Jan 2025 20:49:32 +0000 (22:49 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 31 Jan 2025 20:49:32 +0000 (22:49 +0200)
commitd382f7524de37bd07693f0fa1795d3a3085a32ec
tree7e94055dcc41713c1824a9737d2bad8bf1b60e84
parente825724fd7de4b24ab637d62c259e26c1d18d0fa
Treat an empty bounding sphere as absent for frustum culling

Dynamically created objects don't have their bounding sphere filled
in, so they got culled when the center of the object was outside the
frustum.
source/render/camera.cpp