Euphoria
eu::render::Camera Struct Reference

The current perspective camera representation. More...

Public Attributes

An fov = 45.0_deg
float near = 0.1f
float far = 100.0f
v3 position = v3{0.0f, 0.0f, 0.0f}
Ypr rotation

Detailed Description

The current perspective camera representation.

Definition at line 14 of file camera.h.

Member Data Documentation

◆ far

float eu::render::Camera::far = 100.0f

Definition at line 18 of file camera.h.

◆ fov

An eu::render::Camera::fov = 45.0_deg

Definition at line 16 of file camera.h.

◆ near

float eu::render::Camera::near = 0.1f

Definition at line 17 of file camera.h.

◆ position

v3 eu::render::Camera::position = v3{0.0f, 0.0f, 0.0f}

Definition at line 20 of file camera.h.

◆ rotation

Ypr eu::render::Camera::rotation
Initial value:
= Ypr
{
.yaw = 0.0_rad,
.pitch = 0.0_rad,
.roll = 0.0_rad
}
yaw + pitch + roll
Definition axisangle.h:33

Definition at line 22 of file camera.h.


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