![]() |
Murl Engine API
Version 2025.1
|
A frustum describing 6 planes. More...
#include <murl_math_frustum.h>
A frustum describing 6 planes.
Public Types | |
| enum | ClipPlane { CLIP_PLANE_LEFT, CLIP_PLANE_RIGHT, CLIP_PLANE_TOP, CLIP_PLANE_BOTTOM, CLIP_PLANE_NEAR, CLIP_PLANE_FAR, NUM_CLIP_PLANES } |
| Enumeration of the frustum planes. More... | |
| using | ValueType = DataType |
| The template parameter value type. | |
Public Member Functions | |
| Frustum () | |
| The default constructor. | |
| Frustum (const Matrix< DataType > &projectionMatrix) | |
| Constructor taking a projection matrix. More... | |
| template<class DataType2 > | |
| Frustum (const Frustum< DataType2 > &f) | |
| The copy constructor using a frustum of different type. More... | |
| void | Set (const Matrix< DataType > &projectionMatrix) |
| Set the frustum planes by a projection matrix. More... | |
| const Plane< DataType > & | GetClipPlane (ClipPlane plane) const |
| Get a plane by identifier. More... | |
Protected Attributes | |
| Plane< DataType > | mClipPlanes [NUM_CLIP_PLANES] |
| The plane storage array. | |
| enum Murl::Math::Frustum::ClipPlane |
|
inline |
Constructor taking a projection matrix.
| projectionMatrix | The projection matrix. |
|
inline |
The copy constructor using a frustum of different type.
| f | The frustum to copy. |
|
inline |
Set the frustum planes by a projection matrix.
| projectionMatrix | The projection matrix. |
|
inline |
Get a plane by identifier.
| plane | The enumerated plane identifer. |