diff options
author | Kiri Jolly <expiredpopsicle@gmail.com> | 2020-04-28 17:14:06 -0700 |
---|---|---|
committer | Kiri Jolly <expiredpopsicle@gmail.com> | 2020-04-29 19:33:42 -0700 |
commit | 87ba4daf4bd627af033b4fbd784f783d9c58988b (patch) | |
tree | 4801d52559c362a7d6f51909727a49730a26cddb /servers/rendering | |
parent | 459cab99f47a3c761129abdc94f2325aaa23e129 (diff) |
Fixed false positives in the culling system.
This fixes numerous false positives coming out of the culling system.
AABB checks are now a full separating-axis check against the frustum, with the points of the frustum being compared to the planes of the box just as the points of the box were being compared to the planes of the frustum. This fixes large objects behind the camera not being culled correctly.
Some systems that used frustums that were (sometimes mistakenly?) unbounded on one or more side have been modified to be fully enclosed.
Diffstat (limited to 'servers/rendering')
0 files changed, 0 insertions, 0 deletions