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.

References nc.

Member Data Documentation

◆ angle

float CAMERA_FRUSTUM::angle

Definition at line 61 of file camera.h.

Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewFOV().

◆ farD

float CAMERA_FRUSTUM::farD

◆ fbl

SFVEC3F CAMERA_FRUSTUM::fbl

Far Bottom Left.

Definition at line 59 of file camera.h.

◆ fbr

SFVEC3F CAMERA_FRUSTUM::fbr

Far Bottom Right.

Definition at line 60 of file camera.h.

◆ fc

SFVEC3F CAMERA_FRUSTUM::fc

Definition at line 52 of file camera.h.

◆ fh

float CAMERA_FRUSTUM::fh

Definition at line 62 of file camera.h.

Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewExtents().

◆ ftl

SFVEC3F CAMERA_FRUSTUM::ftl

Far Top Left.

Definition at line 57 of file camera.h.

◆ ftr

SFVEC3F CAMERA_FRUSTUM::ftr

Far Top Right.

Definition at line 58 of file camera.h.

◆ fw

float CAMERA_FRUSTUM::fw

Definition at line 62 of file camera.h.

Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewExtents().

◆ nbl

SFVEC3F CAMERA_FRUSTUM::nbl

Near Bottom Left.

Definition at line 55 of file camera.h.

◆ nbr

SFVEC3F CAMERA_FRUSTUM::nbr

Near Bottom Right.

Definition at line 56 of file camera.h.

◆ nc

SFVEC3F CAMERA_FRUSTUM::nc

Definition at line 51 of file camera.h.

Referenced by CAMERA_FRUSTUM().

◆ nearD

float CAMERA_FRUSTUM::nearD

◆ nh

float CAMERA_FRUSTUM::nh

Definition at line 62 of file camera.h.

Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewFrustum().

◆ ntl

SFVEC3F CAMERA_FRUSTUM::ntl

Near Top Left.

Definition at line 53 of file camera.h.

◆ ntr

SFVEC3F CAMERA_FRUSTUM::ntr

Near Top Right.

Definition at line 54 of file camera.h.

◆ nw

float CAMERA_FRUSTUM::nw

◆ ratio

float CAMERA_FRUSTUM::ratio

Definition at line 61 of file camera.h.

◆ tang

float CAMERA_FRUSTUM::tang

Definition at line 61 of file camera.h.


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