A simple class that just collects six planes together and calls it a frustum.
More...
#include <Frustum.h>
|
enum | Planes |
| Identifiers for each of the six planes that make up the viewing frustum. More...
|
|
|
| Frustum () |
| Default constructor.
|
|
| ~Frustum () |
| Destructor; does nothing.
|
|
void SILVERLINING_API | SetPlane (int planeNum, const Plane &plane) |
| Assigns a plane to one of the enumerated planes of the frustum.
|
|
const Plane &SILVERLINING_API | GetPlane (int planeNum) const |
| Retrieves a specific Plane of the frustum.
|
|
void SILVERLINING_API | EnableFarClipCulling (bool bEnable) |
| Enables culling against the far clip plane from this frustum (enabled by default.)
|
|
A simple class that just collects six planes together and calls it a frustum.
◆ Planes
Identifiers for each of the six planes that make up the viewing frustum.
◆ Frustum()
SilverLining::Frustum::Frustum |
( |
| ) |
|
|
inline |
◆ ~Frustum()
SilverLining::Frustum::~Frustum |
( |
| ) |
|
|
inline |
Destructor; does nothing.
◆ GetPlane()
const Plane &SILVERLINING_API SilverLining::Frustum::GetPlane |
( |
int |
planeNum | ) |
const |
|
inline |
Retrieves a specific Plane of the frustum.
- Parameters
-
planeNum | A member of the Planes enumeration, specifying if you wish to retrieve the near, left, right, top, bottom, or back frustum plane. |
- Returns
- A const reference to the Plane object requested.
◆ SetPlane()
void SILVERLINING_API SilverLining::Frustum::SetPlane |
( |
int |
planeNum, |
|
|
const Plane & |
plane |
|
) |
| |
|
inline |
Assigns a plane to one of the enumerated planes of the frustum.
- Parameters
-
planeNum | A member of the Planes enumeration, specifying if this plane represents the near, left, right, top, bottom, or back frustum plane. |
plane | A Plane object representing the Frustum plane specified. |
The documentation for this class was generated from the following file: