We need to define these math utilities for use in frustum culling, on the engine rendering side.
It could also prove useful in other areas.
Solution
We should add a core::geom::Frustum, which can be created from a camera's projection matrix.
It should provide intersection methods for boxes and spheres.
Problem
We need to define these math utilities for use in frustum culling, on the engine rendering side. It could also prove useful in other areas.
Solution
We should add a
core::geom::Frustum
, which can be created from a camera's projection matrix. It should provide intersection methods for boxes and spheres.