molecular
|
A frustum contains the space that is seen. More...
#include <Frustum.h>
Public Types | |
enum | PlaneNum { kNear = 0, kFar = 1, kLeft = 2, kRight = 3, kTop = 4, kBottom = 5 } |
Public Member Functions | |
Frustum (const Matrix< 4, 4 > &viewProjectionMatrix) | |
Frustum (const Plane planes[6]) | |
Plane::IntersectStatus | Check (const Vector3 &point) const |
Plane::IntersectStatus | Check (const Vector3 &pos, float radius) const |
Plane::IntersectStatus | Check (const AxisAlignedBox &box) const |
const Plane & | GetPlane (PlaneNum plane) const |
const std::array< Plane, 6 > & | GetPlanes () const |
A frustum contains the space that is seen.
molecular::util::Frustum::Frustum | ( | const Matrix< 4, 4 > & | viewProjectionMatrix | ) |
molecular::util::Frustum::Frustum | ( | const Plane | planes[6] | ) |
Plane::IntersectStatus molecular::util::Frustum::Check | ( | const Vector3 & | point | ) | const |
Plane::IntersectStatus molecular::util::Frustum::Check | ( | const Vector3 & | pos, |
float | radius | ||
) | const |
Plane::IntersectStatus molecular::util::Frustum::Check | ( | const AxisAlignedBox & | box | ) | const |
|
inline |