pub fn perspective<D: Into<Deg<f32>>>(aspect: f32, fov: D) -> Projection {
        Projection::Perspective(PerspectiveFov {
            fovy: fov.into().into(),
            aspect,
            near: 0.1,
            far: 2000.0,
        })
    }
/// Creates a perspective projection with the given aspect ratio and
/// field-of-view.
Creates a perspective projection with the given aspect ratio and
field-of-view.
Creates a perspective projection with the given aspect ratio and field - of - view .
pub fn perspective<D: Into<Deg<f32>>>(aspect: f32, fov: D) -> Projection {
        Projection::Perspective(PerspectiveFov {
            fovy: fov.into().into(),
            aspect,
            near: 0.1,
            far: 2000.0,
        })
    }
pub fn perspective < D : Into < Deg < f32 > > > ( aspect : f32 , fov : D ) -> Projection { Projection :: Perspective ( PerspectiveFov { fovy : fov . into ( ) . into ( ) , aspect , near : 0.1 , far : 2000.0 , } ) }
Creates a perspective projection with the given aspect ratio and
field-of-view.
Creates a perspective projection with the given aspect ratio and field - of - view .
aspect
f32
fov
D