Public Member Functions | |
void | SetViewProjMatrix (const cMatrixf &a_mtxProj, const cMatrixf &a_mtxView, float afFarPlane, float afNearPlane, float afFOV, float afAspect, const cVector3f &avOrigin, bool abInfFarPlane=false) |
cPlanef | GetPlane (eFrustumPlane aType) |
eFrustumCollision | CollideBoundingVolume (cBoundingVolume *aBV) |
eFrustumCollision | CollideFustrumSphere (cBoundingVolume *aBV) |
eFrustumCollision | CollideBVSphere (cBoundingVolume *aBV) |
eFrustumCollision | CollideBVAABB (cBoundingVolume *aBV) |
bool | CheckLineIntersection (const cVector3f &avPoint1, const cVector3f &avPoint2) |
bool | CheckQuadMeshIntersection (tVector3fVec *apPoints) |
bool | CheckVolumeIntersection (cShadowVolumeBV *apVolume) |
cSpheref | GetBoundingSphere () |
const cBoundingVolume & | GetBoundingVolume () |
const cVector3f & | GetOrigin () |
cBoundingVolume * | GetOriginBV () |
cVector3f | GetForward () |
void | Draw (iLowLevelGraphics *apLowLevelGraphics) |
bool hpl::cFrustum::CheckLineIntersection | ( | const cVector3f & | avPoint1, |
const cVector3f & | avPoint2 | ||
) |
Checks intersection with a line
bool hpl::cFrustum::CheckQuadMeshIntersection | ( | tVector3fVec * | apPoints | ) |
Checks intersection with a quad mesh.
apPoints | the points of the quad mesh, every 4 points is a face. |