light/modules/camera/components.cppm

24 lines
324 B
Text
Raw Normal View History

export module camera.components;
2026-01-20 09:58:35 +03:30
import preliminary;
import math.vec4;
2026-01-20 09:58:35 +03:30
export namespace lt::camera::components {
2026-01-20 09:58:35 +03:30
struct PerspectiveCamera
{
2026-01-20 09:58:35 +03:30
f32 vertical_fov {};
2026-01-20 09:58:35 +03:30
f32 near_plane {};
2026-01-20 09:58:35 +03:30
f32 far_plane {};
2026-01-20 09:58:35 +03:30
f32 aspect_ratio {};
math::vec4 background_color;
bool is_primary {};
};
} // namespace lt::camera::components