pub fn new(aspect_ratio: f32) -> Camera {
        Camera {
            position: Point3::new(15.0, 10.0, 50.0),
            phi: -0.27,
            theta: 2.6,
            aspect_ratio: aspect_ratio,
            proj: perspective(deg(60.0), aspect_ratio, 0.1, 3_000.0),
        }
    }
/// Create new Camera with given aspect ratio
Create new Camera with given aspect ratio
Create new Camera with given aspect ratio
pub fn new(aspect_ratio: f32) -> Camera {
        Camera {
            position: Point3::new(15.0, 10.0, 50.0),
            phi: -0.27,
            theta: 2.6,
            aspect_ratio: aspect_ratio,
            proj: perspective(deg(60.0), aspect_ratio, 0.1, 3_000.0),
        }
    }
pub fn new ( aspect_ratio : f32 ) -> Camera { Camera { position : Point3 :: new ( 15.0 , 10.0 , 50.0 ) , phi : - 0.27 , theta : 2.6 , aspect_ratio : aspect_ratio , proj : perspective ( deg ( 60.0 ) , aspect_ratio , 0.1 , 3_000.0 ) , } }
Create new Camera with given aspect ratio
Create new Camera with given aspect ratio
aspect_ratio
f32