Something went wrong. Try again.
My attempt at doing Pathtracer in a weekend during work time
Something went wrong. Try again.
12345678910111213141516use crate::vec3::Point3;
pub struct Camera { pub focal_length: f64, pub center: Point3,}
impl Camera { pub fn new(focal_length: f64, center: Point3) -> Self { Self { focal_length, center, } }}