fn centered_ortho(width: f32, height: f32) -> na::Orthographic3<f32> {
        let half_width = width / 2.0;
        let half_height = height / 2.0;
        na::Orthographic3::new(
            -half_width,
            half_width,
            half_height,
            -half_height,
            1.0,
            -1.0,
        )
    }
/// Construct an orthographic projection centered around the origin with
/// the provided width and height.
Construct an orthographic projection centered around the origin with
the provided width and height.
Construct an orthographic projection centered around the origin with the provided width and height .
fn centered_ortho(width: f32, height: f32) -> na::Orthographic3<f32> {
        let half_width = width / 2.0;
        let half_height = height / 2.0;
        na::Orthographic3::new(
            -half_width,
            half_width,
            half_height,
            -half_height,
            1.0,
            -1.0,
        )
    }
fn centered_ortho ( width : f32 , height : f32 ) -> na :: Orthographic3 < f32 > { let half_width = width / 2.0 ; let half_height = height / 2.0 ; na :: Orthographic3 :: new ( - half_width , half_width , half_height , - half_height , 1.0 , - 1.0 , ) }
Construct an orthographic projection centered around the origin with
the provided width and height.
Construct an orthographic projection centered around the origin with the provided width and height .
width
f32
height
f32