SolarSim
Loading...
Searching...
No Matches
camera_component.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <glm/glm.hpp>
4
5namespace solarsim {
14 float fov = 45.0f;
15
17 float near = 0.1f;
18
20 float far = 2000.f;
21
23 float aspect = 800.0f / 600.0f;
24
26 bool primary = true;
27 };
28}
Definition engine.cpp:23
Defines camera properties for rendering and view projection.
Definition camera_component.hpp:12
float fov
Definition camera_component.hpp:14
bool primary
Definition camera_component.hpp:26
float aspect
Definition camera_component.hpp:23
float far
Definition camera_component.hpp:20
float near
Definition camera_component.hpp:17