1#ifndef ULT_MATH_FRUSTUM_H_INCLUDED
2#define ULT_MATH_FRUSTUM_H_INCLUDED
53 bool IsSphereVisible(
const float x,
const float y,
const float z,
const float radius);
59 bool IsCubeVisible(
const float x,
const float y,
const float z,
const float size);
66 std::vector<Plane> mFrustum;
bool IsPointVisible(const float x, const float y, const float z)
Definition Frustum.cpp:96
void CalculateFrustum(const float angle, const float ratio, const float near, const float far, const Vector3D &camPos, const Vector3D &lookAt, const Vector3D &up)
Definition Frustum.cpp:19
bool IsObbVisible(const OBB &obb)
Definition Frustum.cpp:151
void AddPlane(const Plane &pl)
Definition Frustum.cpp:84
bool IsBoxVisible(const Vector3D &min, const Vector3D &max)
Definition Frustum.cpp:137
int GetTotalPlanes() const
Definition Frustum.h:45
bool IsSphereVisible(const float x, const float y, const float z, const float radius)
Definition Frustum.cpp:106
bool IsCubeVisible(const float x, const float y, const float z, const float size)
Definition Frustum.cpp:118
Frustum()
Definition Frustum.cpp:14
bool GetPlane(const int index, Plane *out) const
Definition Frustum.cpp:89