KiCad PCB EDA Suite
|
#include <frustum.h>
Public Member Functions | |
void | GenerateFrustum (const RAY &topLeft, const RAY &topRight, const RAY &bottomLeft, const RAY &bottomRight) |
bool | Intersect (const BBOX_3D &aBBox) const |
Intersect aBBox with this frustum. | |
Private Attributes | |
SFVEC3F | m_normals [4] |
SFVEC3F | m_point [4] |
void FRUSTUM::GenerateFrustum | ( | const RAY & | topLeft, |
const RAY & | topRight, | ||
const RAY & | bottomLeft, | ||
const RAY & | bottomRight | ||
) |
Definition at line 37 of file frustum.cpp.
References RAY::m_Dir, m_normals, RAY::m_Origin, and m_point.
Referenced by RAYPACKET_GenerateFrustum().
bool FRUSTUM::Intersect | ( | const BBOX_3D & | aBBox | ) | const |
Intersect aBBox with this frustum.
aBBox | is a bounding box to test. |
Definition at line 58 of file frustum.cpp.
References m_normals, m_point, BBOX_3D::Max(), and BBOX_3D::Min().
Referenced by getFirstHit(), and BVH_PBRT::Intersect().
|
private |
Definition at line 56 of file frustum.h.
Referenced by GenerateFrustum(), and Intersect().
|
private |
Definition at line 57 of file frustum.h.
Referenced by GenerateFrustum(), and Intersect().