opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
osc::EulerPerspectiveCamera Struct Referencefinal

#include <euler_perspective_camera.h>

Collaboration diagram for osc::EulerPerspectiveCamera:
[legend]

Public Member Functions

 EulerPerspectiveCamera ()
 
Vector3 front () const
 
Vector3 up () const
 
Vector3 right () const
 
Matrix4x4 view_matrix () const
 
Matrix4x4 projection_matrix (float aspect_ratio) const
 

Public Attributes

Vector3 origin = {}
 
Radians pitch = Degrees{0}
 
Radians yaw = Degrees{180}
 
Radians vertical_field_of_view = Degrees{35}
 
float znear = 0.1f
 
float zfar = 1000.0f
 

Constructor & Destructor Documentation

◆ EulerPerspectiveCamera()

osc::EulerPerspectiveCamera::EulerPerspectiveCamera ( )

Member Function Documentation

◆ front()

Vector3 osc::EulerPerspectiveCamera::front ( ) const

◆ projection_matrix()

Matrix4x4 osc::EulerPerspectiveCamera::projection_matrix ( float  aspect_ratio) const

◆ right()

Vector3 osc::EulerPerspectiveCamera::right ( ) const

◆ up()

Vector3 osc::EulerPerspectiveCamera::up ( ) const

◆ view_matrix()

Matrix4x4 osc::EulerPerspectiveCamera::view_matrix ( ) const

Member Data Documentation

◆ origin

Vector3 osc::EulerPerspectiveCamera::origin = {}

◆ pitch

Radians osc::EulerPerspectiveCamera::pitch = Degrees{0}

◆ vertical_field_of_view

Radians osc::EulerPerspectiveCamera::vertical_field_of_view = Degrees{35}

◆ yaw

Radians osc::EulerPerspectiveCamera::yaw = Degrees{180}

◆ zfar

float osc::EulerPerspectiveCamera::zfar = 1000.0f

◆ znear

float osc::EulerPerspectiveCamera::znear = 0.1f

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