|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
#include <ViewFrustum.hpp>
Public Types | |
| enum | { Left = 0 , Right , Bottom , Top , Near , Far , COUNT } |
| Index of each plane within ViewFrustum::planes. More... | |
Public Member Functions | |
| void | ExtractFromVP (const Math::Matrix4 &m) |
| bool | IsAABBVisible (const Math::Vector3D &min, const Math::Vector3D &max) const |
Public Attributes | |
| Plane | planes [COUNT] |
Six-plane view frustum, extracted from a view-projection matrix and used for CPU-side AABB visibility tests.
Definition at line 35 of file ViewFrustum.hpp.
| anonymous enum |
Index of each plane within ViewFrustum::planes.
| Enumerator | |
|---|---|
| Left | |
| Right | |
| Bottom | |
| Top | |
| Near | |
| Far | |
| COUNT | |
Definition at line 38 of file ViewFrustum.hpp.
|
inline |
Definition at line 43 of file ViewFrustum.hpp.
|
inline |
Definition at line 87 of file ViewFrustum.hpp.
Definition at line 39 of file ViewFrustum.hpp.