KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CAMERA_FRUSTUM Struct Reference

Frustum is a implementation based on a tutorial by http://www.lighthouse3d.com/tutorials/view-frustum-culling/. More...

#include <camera.h>

Public Member Functions

 CAMERA_FRUSTUM ()
 

Public Attributes

SFVEC3F nc
 
SFVEC3F fc
 
SFVEC3F ntl
 Near Top Left.
 
SFVEC3F ntr
 Near Top Right.
 
SFVEC3F nbl
 Near Bottom Left.
 
SFVEC3F nbr
 Near Bottom Right.
 
SFVEC3F ftl
 Far Top Left.
 
SFVEC3F ftr
 Far Top Right.
 
SFVEC3F fbl
 Far Bottom Left.
 
SFVEC3F fbr
 Far Bottom Right.
 
float nearD
 
float farD
 
float ratio
 
float angle
 
float tang
 
float nw
 
float nh
 
float fw
 
float fh
 

Detailed Description

Frustum is a implementation based on a tutorial by http://www.lighthouse3d.com/tutorials/view-frustum-culling/.

Definition at line 49 of file camera.h.

Constructor & Destructor Documentation

◆ CAMERA_FRUSTUM()

CAMERA_FRUSTUM::CAMERA_FRUSTUM ( )
inline

Definition at line 64 of file camera.h.

Member Data Documentation

◆ angle

float CAMERA_FRUSTUM::angle

Definition at line 61 of file camera.h.

Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewFOV(), and CAMERA::rebuildProjection().

◆ farD

◆ fbl

SFVEC3F CAMERA_FRUSTUM::fbl

Far Bottom Left.

Definition at line 59 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ fbr

SFVEC3F CAMERA_FRUSTUM::fbr

Far Bottom Right.

Definition at line 60 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ fc

SFVEC3F CAMERA_FRUSTUM::fc

Definition at line 52 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ fh

float CAMERA_FRUSTUM::fh

◆ ftl

SFVEC3F CAMERA_FRUSTUM::ftl

Far Top Left.

Definition at line 57 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ ftr

SFVEC3F CAMERA_FRUSTUM::ftr

Far Top Right.

Definition at line 58 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ fw

float CAMERA_FRUSTUM::fw

◆ nbl

SFVEC3F CAMERA_FRUSTUM::nbl

Near Bottom Left.

Definition at line 55 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ nbr

SFVEC3F CAMERA_FRUSTUM::nbr

Near Bottom Right.

Definition at line 56 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ nc

SFVEC3F CAMERA_FRUSTUM::nc

Definition at line 51 of file camera.h.

Referenced by CAMERA::MakeRay(), and CAMERA::updateFrustum().

◆ nearD

◆ nh

float CAMERA_FRUSTUM::nh

◆ ntl

SFVEC3F CAMERA_FRUSTUM::ntl

Near Top Left.

Definition at line 53 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ ntr

SFVEC3F CAMERA_FRUSTUM::ntr

Near Top Right.

Definition at line 54 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ nw

◆ ratio

float CAMERA_FRUSTUM::ratio

Definition at line 61 of file camera.h.

Referenced by TRACK_BALL::Pan(), and CAMERA::rebuildProjection().

◆ tang

float CAMERA_FRUSTUM::tang

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