pub mod cylinder; pub mod data; pub mod input_file; pub mod sphere; use nalgebra::Vector3; use crate::image::Color; use self::data::{DepthCueing, Light, Material, Object}; #[derive(Debug, Default)] pub struct Scene { pub eye_pos: Vector3, pub view_dir: Vector3, pub up_dir: Vector3, /// Horizontal field of view (in degrees) pub hfov: f64, pub parallel_projection: bool, pub image_width: usize, pub image_height: usize, /// Background color pub bkg_color: Color, pub depth_cueing: DepthCueing, pub materials: Vec, pub lights: Vec, pub objects: Vec, }