#include <g3d_ShapeObj.h>
|
| void | SetPerspective (float fovy, float aspect, float zNear, float zFar, const Mtx34 &viewToWorld) |
| void | SetPerspectiveOffset (float fovy, float aspect, float zNear, float zFar, const Mtx34 &viewToWorld, const Vec2 &offset) |
| void | SetFrustum (float top, float bottom, float left, float right, float zNear, float zFar, const Mtx34 &viewToWorld) |
| void | SetOrtho (float top, float bottom, float left, float right, float zNear, float zFar, const Mtx34 &viewToWorld) |
| bool | TestIntersection (const Sphere &sphere) const |
| int | TestIntersectionEx (const Sphere &sphere) const |
| bool | TestIntersection (const AABB &aabb) const |
| int | TestIntersectionEx (const AABB &aabb) const |
| void | EnableAABB () |
| void | DisableAABB () |
| bool | IsAABBEnabled () const |
◆ SetPerspective()
| void nw::g3d::ViewVolume::SetPerspective |
( |
float | fovy, |
|
|
float | aspect, |
|
|
float | zNear, |
|
|
float | zFar, |
|
|
const Mtx34 & | viewToWorld ) |
◆ SetPerspectiveOffset()
| void nw::g3d::ViewVolume::SetPerspectiveOffset |
( |
float | fovy, |
|
|
float | aspect, |
|
|
float | zNear, |
|
|
float | zFar, |
|
|
const Mtx34 & | viewToWorld, |
|
|
const Vec2 & | offset ) |
◆ SetFrustum()
| void nw::g3d::ViewVolume::SetFrustum |
( |
float | top, |
|
|
float | bottom, |
|
|
float | left, |
|
|
float | right, |
|
|
float | zNear, |
|
|
float | zFar, |
|
|
const Mtx34 & | viewToWorld ) |
◆ SetOrtho()
| void nw::g3d::ViewVolume::SetOrtho |
( |
float | top, |
|
|
float | bottom, |
|
|
float | left, |
|
|
float | right, |
|
|
float | zNear, |
|
|
float | zFar, |
|
|
const Mtx34 & | viewToWorld ) |
◆ TestIntersection() [1/2]
| bool nw::g3d::ViewVolume::TestIntersection |
( |
const Sphere & | sphere | ) |
const |
◆ TestIntersectionEx() [1/2]
| int nw::g3d::ViewVolume::TestIntersectionEx |
( |
const Sphere & | sphere | ) |
const |
◆ TestIntersection() [2/2]
| bool nw::g3d::ViewVolume::TestIntersection |
( |
const AABB & | aabb | ) |
const |
◆ TestIntersectionEx() [2/2]
| int nw::g3d::ViewVolume::TestIntersectionEx |
( |
const AABB & | aabb | ) |
const |
◆ EnableAABB()
| void nw::g3d::ViewVolume::EnableAABB |
( |
| ) |
|
|
inline |
◆ DisableAABB()
| void nw::g3d::ViewVolume::DisableAABB |
( |
| ) |
|
|
inline |
◆ IsAABBEnabled()
| bool nw::g3d::ViewVolume::IsAABBEnabled |
( |
| ) |
const |
|
inline |
◆ aabb
| AABB nw::g3d::ViewVolume::aabb |
◆ planes
| Plane nw::g3d::ViewVolume::planes[6] |
◆ numPlanes
| int nw::g3d::ViewVolume::numPlanes |
◆ flag
| int nw::g3d::ViewVolume::flag |