KiCad PCB EDA Suite
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 Attributes

SFVEC3F nc
 
SFVEC3F fc
 
SFVEC3F ntl
 Near Top Left. More...
 
SFVEC3F ntr
 Near Top Right. More...
 
SFVEC3F nbl
 Near Bottom Left. More...
 
SFVEC3F nbr
 Near Bottom Right. More...
 
SFVEC3F ftl
 Far Top Left. More...
 
SFVEC3F ftr
 Far Top Right. More...
 
SFVEC3F fbl
 Far Bottom Left. More...
 
SFVEC3F fbr
 Far Bottom Right. More...
 
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 47 of file camera.h.

Member Data Documentation

◆ angle

float CAMERA_FRUSTUM::angle

Definition at line 59 of file camera.h.

Referenced by CAMERA::rebuildProjection().

◆ farD

float CAMERA_FRUSTUM::farD

Definition at line 59 of file camera.h.

Referenced by CAMERA::GetFar(), CAMERA::rebuildProjection(), and CAMERA::updateFrustum().

◆ fbl

SFVEC3F CAMERA_FRUSTUM::fbl

Far Bottom Left.

Definition at line 57 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ fbr

SFVEC3F CAMERA_FRUSTUM::fbr

Far Bottom Right.

Definition at line 58 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ fc

SFVEC3F CAMERA_FRUSTUM::fc

Definition at line 50 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ fh

float CAMERA_FRUSTUM::fh

Definition at line 60 of file camera.h.

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

◆ ftl

SFVEC3F CAMERA_FRUSTUM::ftl

Far Top Left.

Definition at line 55 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ ftr

SFVEC3F CAMERA_FRUSTUM::ftr

Far Top Right.

Definition at line 56 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ fw

float CAMERA_FRUSTUM::fw

Definition at line 60 of file camera.h.

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

◆ nbl

SFVEC3F CAMERA_FRUSTUM::nbl

Near Bottom Left.

Definition at line 53 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ nbr

SFVEC3F CAMERA_FRUSTUM::nbr

Near Bottom Right.

Definition at line 54 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ nc

SFVEC3F CAMERA_FRUSTUM::nc

Definition at line 49 of file camera.h.

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

◆ nearD

float CAMERA_FRUSTUM::nearD

Definition at line 59 of file camera.h.

Referenced by CAMERA::GetNear(), CAMERA::rebuildProjection(), and CAMERA::updateFrustum().

◆ nh

float CAMERA_FRUSTUM::nh

Definition at line 60 of file camera.h.

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

◆ ntl

SFVEC3F CAMERA_FRUSTUM::ntl

Near Top Left.

Definition at line 51 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ ntr

SFVEC3F CAMERA_FRUSTUM::ntr

Near Top Right.

Definition at line 52 of file camera.h.

Referenced by CAMERA::updateFrustum().

◆ nw

float CAMERA_FRUSTUM::nw

Definition at line 60 of file camera.h.

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

◆ ratio

float CAMERA_FRUSTUM::ratio

Definition at line 59 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: