![]() |
Murl Engine API
Version 2018.3
|
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... | |
typedef DataType | ValueType |
The template parameter value type. More... | |
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. More... | |
typedef DataType Murl::Math::Frustum< DataType >::ValueType |
The template parameter value type.
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. |
|
protected |
The plane storage array.