Represents the camera's viewing volume. Used for Culling.
More...
#include <src/renderer/Frustum.h>
|
| | Frustum ()=default |
| |
| void | Update (const Core::Mat4 &viewProjMatrix) |
| | Extracts the 6 frustum planes from the View-Projection matrix. Uses the Gribb-Hartmann method.
|
| |
| bool | IsBoxInVisibleFrustum (const AABB &box) const |
| | Checks if an AABB is visible within the frustum. Uses the "Center + Extent" method for high performance.
|
| |
Represents the camera's viewing volume. Used for Culling.
◆ Frustum()
◆ IsBoxInVisibleFrustum()
| bool Frustum::IsBoxInVisibleFrustum |
( |
const AABB & |
box | ) |
const |
Checks if an AABB is visible within the frustum. Uses the "Center + Extent" method for high performance.
◆ Update()
| void Frustum::Update |
( |
const Core::Mat4 & |
viewProjMatrix | ) |
|
Extracts the 6 frustum planes from the View-Projection matrix. Uses the Gribb-Hartmann method.
◆ m_arrPlanes
| std::array<Plane, 6> Frustum::m_arrPlanes |
|
private |
The documentation for this class was generated from the following files: