![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
A frustum describing 6 planes.
Enumeration of the frustum planes.
Murl.Math.Frustum.CLIP_PLANE_LEFT | The left plane. |
Murl.Math.Frustum.CLIP_PLANE_RIGHT | The right plane. |
Murl.Math.Frustum.CLIP_PLANE_TOP | The top plane. |
Murl.Math.Frustum.CLIP_PLANE_BOTTOM | The bottom plane. |
Murl.Math.Frustum.CLIP_PLANE_NEAR | The near plane. |
Murl.Math.Frustum.CLIP_PLANE_FAR | The far plane. |
Murl.Math.Frustum.NUM_CLIP_PLANES | The number of planes. |
The default constructor.
Murl.Math.Frustum new()
Constructor taking a projection matrix.
Murl.Math.Frustum new(Murl.Math.Matrix projectionMatrix)
projectionMatrix | The projection matrix. |
Set the frustum planes by a projection matrix.
Set(Murl.Math.Matrix projectionMatrix)
projectionMatrix | The projection matrix. |
Get a plane by identifier.
Murl.Math.Plane GetClipPlane(Murl.Math.Frustum.ClipPlane plane)
plane | The enumerated plane identifer. |