31 #include "hpl1/engine/graphics/GraphicsTypes.h" 32 #include "hpl1/engine/math/BoundingVolume.h" 33 #include "hpl1/engine/math/MathTypes.h" 34 #include "hpl1/engine/system/SystemTypes.h" 38 class iLowLevelGraphics;
41 eFrustumPlane_Left = 0,
42 eFrustumPlane_Right = 1,
43 eFrustumPlane_Bottom = 2,
44 eFrustumPlane_Top = 3,
45 eFrustumPlane_Near = 4,
46 eFrustumPlane_Far = 5,
47 eFrustumPlane_LastEnum = 7,
50 enum eFrustumCollision {
51 eFrustumCollision_Inside,
52 eFrustumCollision_Outside,
53 eFrustumCollision_Intersect,
54 eFrustumCollision_LastEnum
62 float afFarPlane,
float afNearPlane,
float afFOV,
float afAspect,
63 const cVector3f &avOrigin,
bool abInfFarPlane =
false);
65 cPlanef GetPlane(eFrustumPlane aType);
87 cSpheref GetBoundingSphere() {
return mBoundingSphere; }
100 void UpdateEndPoints();
125 #endif // HPL_FRUSTUM_H
Definition: BoundingVolume.h:71
Definition: BoundingVolume.h:57
bool CheckLineIntersection(const cVector3f &avPoint1, const cVector3f &avPoint2)
bool CheckQuadMeshIntersection(tVector3fVec *apPoints)
Definition: LowLevelGraphics.h:200