KiCad PCB EDA Suite
FRUSTUM Struct Reference

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

#include <ccamera.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 structure Frustum is a implementation based on a tutorial by http://www.lighthouse3d.com/tutorials/view-frustum-culling/.

Definition at line 48 of file ccamera.h.

Member Data Documentation

float FRUSTUM::angle

Definition at line 60 of file ccamera.h.

Referenced by CCAMERA::rebuildProjection().

float FRUSTUM::farD

Definition at line 60 of file ccamera.h.

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

SFVEC3F FRUSTUM::fbl

Far Bottom Left.

Definition at line 58 of file ccamera.h.

Referenced by CCAMERA::updateFrustum().

SFVEC3F FRUSTUM::fbr

Far Bottom Right.

Definition at line 59 of file ccamera.h.

Referenced by CCAMERA::updateFrustum().

SFVEC3F FRUSTUM::fc

Definition at line 51 of file ccamera.h.

Referenced by CCAMERA::updateFrustum().

float FRUSTUM::fh

Definition at line 61 of file ccamera.h.

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

SFVEC3F FRUSTUM::ftl

Far Top Left.

Definition at line 56 of file ccamera.h.

Referenced by CCAMERA::updateFrustum().

SFVEC3F FRUSTUM::ftr

Far Top Right.

Definition at line 57 of file ccamera.h.

Referenced by CCAMERA::updateFrustum().

float FRUSTUM::fw

Definition at line 61 of file ccamera.h.

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

SFVEC3F FRUSTUM::nbl

Near Bottom Left.

Definition at line 54 of file ccamera.h.

Referenced by CCAMERA::updateFrustum().

SFVEC3F FRUSTUM::nbr

Near Bottom Right.

Definition at line 55 of file ccamera.h.

Referenced by CCAMERA::updateFrustum().

SFVEC3F FRUSTUM::nc

Definition at line 50 of file ccamera.h.

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

float FRUSTUM::nearD

Definition at line 60 of file ccamera.h.

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

float FRUSTUM::nh

Definition at line 61 of file ccamera.h.

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

SFVEC3F FRUSTUM::ntl

Near Top Left.

Definition at line 52 of file ccamera.h.

Referenced by CCAMERA::updateFrustum().

SFVEC3F FRUSTUM::ntr

Near Top Right.

Definition at line 53 of file ccamera.h.

Referenced by CCAMERA::updateFrustum().

float FRUSTUM::nw

Definition at line 61 of file ccamera.h.

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

float FRUSTUM::ratio

Definition at line 60 of file ccamera.h.

Referenced by CTRACK_BALL::Pan(), and CCAMERA::rebuildProjection().

float FRUSTUM::tang

Definition at line 60 of file ccamera.h.

Referenced by CTRACK_BALL::Pan(), and CCAMERA::rebuildProjection().


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