#include <Frustum.h>
|
| FrustumT () |
|
| FrustumT (const Camera &cam) |
|
| FrustumT (const Vec3T &ntl, const Vec3T &ntr, const Vec3T &nbl, const Vec3T &nbr, const Vec3T &ftl, const Vec3T &ftr, const Vec3T &fbl, const Vec3T &fbr) |
|
| FrustumT (const Mat4T &mat) |
|
void | set (const Camera &cam) |
|
void | set (const Camera &cam, const Vec3T &ntl, const Vec3T &ntr, const Vec3T &nbl, const Vec3T &nbr) |
|
void | set (const Vec3T &ntl, const Vec3T &ntr, const Vec3T &nbl, const Vec3T &nbr, const Vec3T &ftl, const Vec3T &ftr, const Vec3T &fbl, const Vec3T &fbr) |
|
void | set (const Mat4T &mat) |
|
bool | contains (const Vec3T &loc) const |
|
bool | contains (const Vec3T ¢er, T radius) const |
|
bool | contains (const Vec3T ¢er, const Vec3T &size) const |
|
bool | contains (const Sphere &sphere) const |
|
bool | contains (const AxisAlignedBox &box) const |
|
bool | intersects (const Vec3T &loc) const |
|
bool | intersects (const Vec3T ¢er, T radius) const |
|
bool | intersects (const Vec3T ¢er, const Vec3T &size) const |
|
bool | intersects (const Sphere &sphere) const |
|
bool | intersects (const AxisAlignedBox &box) const |
|
const PlaneT< T > & | getPlane (FrustumSection section) const |
|
Enumerator |
---|
NEAR |
|
FAR |
|
LEFT |
|
RIGHT |
|
TOP |
|
BOTTOM |
|
Creates a world space frustum based on the camera's parameters.
Creates a frustum based on the corners of a near and far portal.
Creates a frustum based on a (projection) matrix. The six planes of the frustum are derived from the matrix. To create a world space frustum, use a view-projection matrix.
Creates a world space frustum based on the camera's parameters.
Creates a world space frustum based on the camera's parameters and four corners of a portal.
Creates a frustum based on the corners of a near and far portal.
Creates a frustum based on a (projection) matrix. The six planes of the frustum are derived from the matrix. To create a world space frustum, use a view-projection matrix.
Returns true if point is within frustum.
Returns true if the sphere is fully contained within frustum. See also 'intersects'.
Returns true if the box is fully contained within frustum. See also 'intersects'.
Returns true if the sphere is fully contained within frustum. See also 'intersects'.
Returns true if the box is fully contained within frustum. See also 'intersects'.
Returns true if point is within frustum.
Returns true if the sphere is fully or partially contained within frustum. See also 'contains'.
Returns true if the box is fully or partially contained within frustum. See also 'contains'.
Returns true if the sphere is fully or partially contained within frustum. See also 'contains'.
Returns true if the box is fully or partially contained within frustum. See also 'contains'.
Returns a const reference to the Plane associated with /a section of the Frustum.
The documentation for this class was generated from the following files: