fn make_bounds(screen_size: Vec2) -> Bounds {
        Bounds {
            min: Vec2 { x: 1, y: 2 },
            max: Vec2 { x: screen_size.x - 2, y: screen_size.y - 2 },
        }
    }
/// Computes the plane bounds from the screen size.
Computes the plane bounds from the screen size.
Computes the plane bounds from the screen size .
fn make_bounds(screen_size: Vec2) -> Bounds {
        Bounds {
            min: Vec2 { x: 1, y: 2 },
            max: Vec2 { x: screen_size.x - 2, y: screen_size.y - 2 },
        }
    }
fn make_bounds ( screen_size : Vec2 ) -> Bounds { Bounds { min : Vec2 { x : 1 , y : 2 } , max : Vec2 { x : screen_size . x - 2 , y : screen_size . y - 2 } , } }
Computes the plane bounds from the screen size.
Computes the plane bounds from the screen size .
screen_size
Vec2
screen_size
Vec2