#include <Frustum.h>
Public Member Functions | |
| void | calculate (GLfloat *modelView, GLfloat *projection) |
| Generates a frustum from a given model view and projection matrix. | |
| bool | isPointVisible (const Propane::Math::Vector3 &point) |
| Check if a point is inside the viewing frustum. | |
| bool | isSphereVisible (const Propane::Math::Vector3 &point, float radius) |
| Check if a sphere is inside the viewing frustum. | |
| bool | isBoxVisible (const Propane::Math::Vector3 &origin, float size) |
| Check if a linearly-sized box is inside the viewing frustum. | |
| bool | isAABBVisible (const Propane::Math::Vector3 &min, const Propane::Math::Vector3 &max) |
| Check if an AABB (axis aligned bounding box) is inside the viewing frustum. | |
|
||||||||||||
|
Generates a frustum from a given model view and projection matrix.
|
|
||||||||||||
|
Check if an AABB (axis aligned bounding box) is inside the viewing frustum.
|
|
||||||||||||
|
Check if a linearly-sized box is inside the viewing frustum.
|
|
|
Check if a point is inside the viewing frustum. param point The xyz location of the point, in world space.
|
|
||||||||||||
|
Check if a sphere is inside the viewing frustum.
|
1.4.6