thomas/components/ui/terminal/comp_terminal_camera.rs
1use crate::{Component, Dimensions2d};
2
3#[derive(Component)]
4pub struct TerminalCamera {
5 /// The amount of the world that will be visible to the camera. Anything exceeding
6 /// the screen's maximum size in a direction cannot be rendered.
7 pub field_of_view: Dimensions2d,
8 /// Whether this is the main camera. There should only ever be one camera marked as main in the world at any
9 /// given time.
10 pub is_main: bool,
11}