Path Tracing
Loading...
Searching...
No Matches
CameraConfig Struct Reference

#include <config.hpp>

Public Attributes

glm::vec3 position = glm::vec3(0.0f, -5.0f, 0.0f)
glm::vec3 lookat = glm::vec3(0.0f, 0.0f, 0.0f)
glm::vec3 up = glm::vec3(0.0f, 0.0f, 1.0f)
float move_speed = 0.01f
float mouse_sens = 0.002f
float pitch = 0.0f
float yaw = 1.57f
bool moving = false
bool returning_home = false
float return_speed = 3.0f

Member Data Documentation

◆ lookat

glm::vec3 CameraConfig::lookat = glm::vec3(0.0f, 0.0f, 0.0f)

◆ mouse_sens

float CameraConfig::mouse_sens = 0.002f

◆ move_speed

float CameraConfig::move_speed = 0.01f

◆ moving

bool CameraConfig::moving = false

◆ pitch

float CameraConfig::pitch = 0.0f

◆ position

glm::vec3 CameraConfig::position = glm::vec3(0.0f, -5.0f, 0.0f)

◆ return_speed

float CameraConfig::return_speed = 3.0f

◆ returning_home

bool CameraConfig::returning_home = false

◆ up

glm::vec3 CameraConfig::up = glm::vec3(0.0f, 0.0f, 1.0f)

◆ yaw

float CameraConfig::yaw = 1.57f

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