light/modules/camera/components.cppm

22 lines
296 B
Text
Raw Normal View History

export module camera.components;
2025-11-18 19:06:44 +03:30
import lsd;
2025-11-18 19:06:44 +03:30
export namespace lt::camera::components {
2025-11-18 19:06:44 +03:30
struct PerspectiveCamera
{
2025-11-18 19:06:44 +03:30
f32 vertical_fov {};
2025-11-18 19:06:44 +03:30
f32 near_plane {};
2025-11-18 19:06:44 +03:30
f32 far_plane {};
2025-11-18 19:06:44 +03:30
f32 aspect_ratio {};
2025-11-18 19:06:44 +03:30
lsd::vec4 background_color;
bool is_primary {};
};
} // namespace lt::camera::components