Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::Camera::Config Struct Reference

Data Fields

std::variant< Spherical, Aircraftpos = Camera::Aircraft(glm::vec3(0.0))
 
ProjectionType proj_type = Camera::ProjectionType::Perspective
 
float fov = 45.0f
 
glm::vec3 world_up = glm::vec3(0.0f, 1.0f, 0.0f)
 
glm::vec3 front = glm::vec3(0.0f, 0.0f, -1.0f)
 
glm::vec3 up = glm::vec3(0.0f, 1.0f, 0.0f)
 
glm::vec3 right = glm::vec3(1.0f, 0.0f, 0.0f)
 

Detailed Description

Definition at line 188 of file camera.hpp.

Field Documentation

◆ fov

float brenta::Camera::Config::fov = 45.0f

Definition at line 192 of file camera.hpp.

◆ front

glm::vec3 brenta::Camera::Config::front = glm::vec3(0.0f, 0.0f, -1.0f)

Definition at line 194 of file camera.hpp.

◆ pos

std::variant<Spherical, Aircraft> brenta::Camera::Config::pos = Camera::Aircraft(glm::vec3(0.0))

Definition at line 190 of file camera.hpp.

◆ proj_type

ProjectionType brenta::Camera::Config::proj_type = Camera::ProjectionType::Perspective

Definition at line 191 of file camera.hpp.

◆ right

glm::vec3 brenta::Camera::Config::right = glm::vec3(1.0f, 0.0f, 0.0f)

Definition at line 196 of file camera.hpp.

◆ up

glm::vec3 brenta::Camera::Config::up = glm::vec3(0.0f, 1.0f, 0.0f)

Definition at line 195 of file camera.hpp.

◆ world_up

glm::vec3 brenta::Camera::Config::world_up = glm::vec3(0.0f, 1.0f, 0.0f)

Definition at line 193 of file camera.hpp.


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