53 I8 lastPlaneCache = -1;
58 I8 lastPlaneCache = -1;
63 I8 lastPlaneCache = -1;
bool operator==(const Frustum &other) const =default
FrustumCollision ContainsBoundingBox(const BoundingBox &bbox) const noexcept
FrustumCollision PlaneBoundingBoxIntersect(FrustumPlane frustumPlane, const BoundingBox &bbox) const noexcept
FrustumCollision ContainsPoint(const vec3< F32 > &point, I8 &lastPlaneCache) const noexcept
FrustumCollision ContainsSphere(const BoundingSphere &bSphere, I8 &lastPlaneCache) const noexcept
const std::array< Plane< F32 >, to_base(FrustumPlane::COUNT)> & computePlanes(const mat4< F32 > &viewProjMatrix)
FrustumCollision PlanePointIntersect(FrustumPlane frustumPlane, const vec3< F32 > &point) const noexcept
const std::array< Plane< F32 >, to_base(FrustumPlane::COUNT)> & planes() const noexcept
FrustumCollision ContainsBoundingBox(const BoundingBox &bbox, I8 &lastPlaneCache) const noexcept
FrustumCollision ContainsSphere(const vec3< F32 > ¢er, const F32 radius) const noexcept
void set(const Frustum &other) noexcept
FrustumCollision PlaneBoundingSphereIntersect(FrustumPlane frustumPlane, const BoundingSphere &bsphere) const noexcept
void getCornersWorldSpace(std::array< vec3< F32 >, to_base(FrustumPoints::COUNT)> &cornersWS) const noexcept
FrustumCollision PlaneSphereIntersect(FrustumPlane frustumPlane, const vec3< F32 > ¢er, F32 radius) const noexcept
std::array< Plane< F32 >, to_base(FrustumPlane::COUNT)> _frustumPlanes
FrustumCollision ContainsPoint(const vec3< F32 > &point) const noexcept
Handle console commands that start with a forward slash.
FrustumCollision PlaneBoundingSphereIntersect(const Plane< F32 > &plane, const BoundingSphere &bsphere) noexcept
FrustumCollision PlaneSphereIntersect(const Plane< F32 > &plane, const vec3< F32 > ¢er, const F32 radius) noexcept
FrustumCollision PlaneBoundingBoxIntersect(const Plane< F32 > &plane, const BoundingBox &bbox) noexcept
FrustumCollision PlanePointIntersect(const Plane< F32 > &plane, const vec3< F32 > &point) noexcept
static const vec3< F32 > WORLD_Y_AXIS
constexpr auto to_base(const Type value) -> Type