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
|