Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #62 Co-authored-by: light7734 <light7734@tuta.io> Co-committed-by: light7734 <light7734@tuta.io>
22 lines
292 B
C++
22 lines
292 B
C++
#pragma once
|
|
|
|
#include <math/mat4.hpp>
|
|
|
|
namespace lt::camera::components {
|
|
|
|
struct PerspectiveCamera
|
|
{
|
|
float vertical_fov {};
|
|
|
|
float near_plane {};
|
|
|
|
float far_plane {};
|
|
|
|
float aspect_ratio {};
|
|
|
|
math::vec4 background_color;
|
|
|
|
bool is_primary {};
|
|
};
|
|
|
|
} // namespace lt::camera::components
|