|
Pyrogenesis
13997
|
#include <Frustum.h>
Public Member Functions | |
| CFrustum () | |
| ~CFrustum () | |
| void | SetNumPlanes (size_t num) |
| size_t | GetNumPlanes () const |
| void | AddPlane (const CPlane &plane) |
| bool | IsPointVisible (const CVector3D &point) const |
| bool | DoesSegmentIntersect (const CVector3D &start, const CVector3D &end) |
| bool | IsSphereVisible (const CVector3D ¢er, float radius) const |
| bool | IsBoxVisible (const CVector3D &position, const CBoundingBoxAligned &bounds) const |
| CPlane & | operator[] (size_t idx) |
| const CPlane & | operator[] (size_t idx) const |
Public Attributes | |
| CPlane | m_aPlanes [MAX_NUM_FRUSTUM_PLANES] |
Private Attributes | |
| size_t | m_NumPlanes |
| CFrustum::CFrustum | ( | ) |
Definition at line 34 of file Frustum.cpp.
| CFrustum::~CFrustum | ( | ) |
Definition at line 39 of file Frustum.cpp.
| void CFrustum::AddPlane | ( | const CPlane & | plane | ) |
Definition at line 52 of file Frustum.cpp.
Definition at line 77 of file Frustum.cpp.
| bool CFrustum::IsBoxVisible | ( | const CVector3D & | position, |
| const CBoundingBoxAligned & | bounds | ||
| ) | const |
Definition at line 116 of file Frustum.cpp.
| bool CFrustum::IsPointVisible | ( | const CVector3D & | point | ) | const |
Definition at line 63 of file Frustum.cpp.
| bool CFrustum::IsSphereVisible | ( | const CVector3D & | center, |
| float | radius | ||
| ) | const |
Definition at line 96 of file Frustum.cpp.
|
inline |
| void CFrustum::SetNumPlanes | ( | size_t | num | ) |
Definition at line 43 of file Frustum.cpp.
| CPlane CFrustum::m_aPlanes[MAX_NUM_FRUSTUM_PLANES] |
1.8.5