NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::math::FRUSTUM Class Reference

Description

Definition at line 67 of file math_geometry.h.

Public Member Functions

void Set (f32 fovy, f32 aspect, f32 n, f32 f, const MTX34 &rCamMtx)
 
void Set (f32 t, f32 b, f32 l, f32 r, f32 n, f32 f, const MTX34 &rCamMtx)
 
IntersectionResult IntersectAABB_Ex (const AABB *pBox) const
 

Private Types

enum  Point {
  POINT_NEAR_TL ,
  POINT_NEAR_TR ,
  POINT_NEAR_BR ,
  POINT_NEAR_BL ,
  POINT_FAR_TL ,
  POINT_FAR_TR ,
  POINT_FAR_BR ,
  POINT_FAR_BL ,
  POINT_MAX
}
 
enum  Plane {
  PLANE_L ,
  PLANE_R ,
  PLANE_N ,
  PLANE_F ,
  PLANE_T ,
  PLANE_B ,
  PLANE_MAX
}
 

Private Attributes

MTX34 mCamMtx
 
PLANE mPlaneL
 
PLANE mPlaneR
 
PLANE mPlaneT
 
PLANE mPlaneB
 
f32 mNearZ
 
f32 mFarZ
 
AABB mBox
 
PLANE mPlanes [PLANE_MAX]
 

Member Enumeration Documentation

◆ Point

enum nw4r::math::FRUSTUM::Point
private

Definition at line 69 of file math_geometry.h.

◆ Plane

enum nw4r::math::FRUSTUM::Plane
private

Definition at line 83 of file math_geometry.h.

Member Data Documentation

◆ mCamMtx

MTX34 nw4r::math::FRUSTUM::mCamMtx
private

Definition at line 101 of file math_geometry.h.

◆ mPlaneL

PLANE nw4r::math::FRUSTUM::mPlaneL
private

Definition at line 102 of file math_geometry.h.

◆ mPlaneR

PLANE nw4r::math::FRUSTUM::mPlaneR
private

Definition at line 103 of file math_geometry.h.

◆ mPlaneT

PLANE nw4r::math::FRUSTUM::mPlaneT
private

Definition at line 104 of file math_geometry.h.

◆ mPlaneB

PLANE nw4r::math::FRUSTUM::mPlaneB
private

Definition at line 105 of file math_geometry.h.

◆ mNearZ

f32 nw4r::math::FRUSTUM::mNearZ
private

Definition at line 106 of file math_geometry.h.

◆ mFarZ

f32 nw4r::math::FRUSTUM::mFarZ
private

Definition at line 107 of file math_geometry.h.

◆ mBox

AABB nw4r::math::FRUSTUM::mBox
private

Definition at line 108 of file math_geometry.h.

◆ mPlanes

PLANE nw4r::math::FRUSTUM::mPlanes[PLANE_MAX]
private

Definition at line 109 of file math_geometry.h.