]> git.tdb.fi Git - libs/gl.git/commit
Move frustum culling from Scene to Camera
authorMikko Rasa <tdb@tdb.fi>
Sun, 13 Mar 2022 09:42:53 +0000 (11:42 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 13 Mar 2022 09:45:07 +0000 (11:45 +0200)
commit4f2f558123db15393607d8b21b949d7798561dec
tree47abff4e4363566c7bc334e097c601563c86e459
parentdd503e748c430d26b6adda57b59f04177e4105fa
Move frustum culling from Scene to Camera

Also refactor it so that the camera's object matrix is accounted for
when computing the frustum planes.
source/render/camera.cpp
source/render/camera.h
source/render/occludedscene.cpp
source/render/orderedscene.cpp
source/render/scene.cpp
source/render/scene.h
source/render/simplescene.cpp
source/render/zsortedscene.cpp