Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
nw4hbm::math::FRUSTUM Class Reference

#include <geometry.h>

+ Collaboration diagram for nw4hbm::math::FRUSTUM:

Public Member Functions

void Set (f32 fovy, f32 aspect, f32 n, f32 f, MTX34 const &camera)
 
void Set (f32 top, f32 bottom, f32 left, f32 right, f32 n, f32 f, MTX34 const &camera)
 
bool IntersectSphere (SPHERE const *S) const
 
bool IntersectAABB (AABB const *B) const
 
IntersectionResult IntersectAABB_Ex (AABB const *B) const
 

Public Attributes

MTX34 cam
 
PLANE leftPlane
 
PLANE rightPlane
 
PLANE topPlane
 
PLANE bottomPlane
 
f32 near
 
f32 far
 
AABB box
 
PLANE planes [6]
 

Member Function Documentation

◆ IntersectAABB()

bool nw4hbm::math::FRUSTUM::IntersectAABB ( AABB const * B) const

◆ IntersectAABB_Ex()

IntersectionResult nw4hbm::math::FRUSTUM::IntersectAABB_Ex ( AABB const * B) const

◆ IntersectSphere()

bool nw4hbm::math::FRUSTUM::IntersectSphere ( SPHERE const * S) const

◆ Set() [1/2]

void nw4hbm::math::FRUSTUM::Set ( f32 fovy,
f32 aspect,
f32 n,
f32 f,
MTX34 const & camera )

◆ Set() [2/2]

void nw4hbm::math::FRUSTUM::Set ( f32 top,
f32 bottom,
f32 left,
f32 right,
f32 n,
f32 f,
MTX34 const & camera )

Member Data Documentation

◆ bottomPlane

PLANE nw4hbm::math::FRUSTUM::bottomPlane

◆ box

AABB nw4hbm::math::FRUSTUM::box

◆ cam

MTX34 nw4hbm::math::FRUSTUM::cam

◆ far

f32 nw4hbm::math::FRUSTUM::far

◆ leftPlane

PLANE nw4hbm::math::FRUSTUM::leftPlane

◆ near

f32 nw4hbm::math::FRUSTUM::near

◆ planes

PLANE nw4hbm::math::FRUSTUM::planes[6]

◆ rightPlane

PLANE nw4hbm::math::FRUSTUM::rightPlane

◆ topPlane

PLANE nw4hbm::math::FRUSTUM::topPlane

The documentation for this class was generated from the following file: