New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
CullViewFrustum Class Reference

#include <CullViewFrustum.h>

Classes

struct  Plane

Public Member Functions

 CullViewFrustum ()
nw::g3d::ViewVolumegetViewVolume ()
const nw::g3d::ViewVolumegetViewVolume () const
void update (const sead::Camera &camera, const sead::PerspectiveProjection &projection)
bool testIntersectionSphere (const sead::Vector3f &pos, f32 radius) const
bool testIntersectionAABB (const sead::Vector3f &min, const sead::Vector3f &max) const

Private Attributes

sead::UnsafeArray< Plane, 4 > mPlane
nw::g3d::ViewVolume mViewVolume

Constructor & Destructor Documentation

◆ CullViewFrustum()

CullViewFrustum::CullViewFrustum ( )

Member Function Documentation

◆ getViewVolume() [1/2]

nw::g3d::ViewVolume & CullViewFrustum::getViewVolume ( )
inline

◆ getViewVolume() [2/2]

const nw::g3d::ViewVolume & CullViewFrustum::getViewVolume ( ) const
inline

◆ update()

void CullViewFrustum::update ( const sead::Camera & camera,
const sead::PerspectiveProjection & projection )

◆ testIntersectionSphere()

bool CullViewFrustum::testIntersectionSphere ( const sead::Vector3f & pos,
f32 radius ) const

◆ testIntersectionAABB()

bool CullViewFrustum::testIntersectionAABB ( const sead::Vector3f & min,
const sead::Vector3f & max ) const

Member Data Documentation

◆ mPlane

sead::UnsafeArray<Plane, 4> CullViewFrustum::mPlane
private

◆ mViewVolume

nw::g3d::ViewVolume CullViewFrustum::mViewVolume
private