pub fn with_max_dims(max_width: f64, max_height: f64) -> AppInfo {
        assert!(max_width >= 1. && max_width <= 3000., "unrealistic max_width: {}", max_width);
        assert!(max_height >= 1. && max_height <= 3000., "unrealistic max_height: {}", max_height);
        AppInfo {
            window_pixels: (800, 600),
            min_dims: (0., 0.),
            max_dims: (max_width, max_height),
            tile_width: None,
            title: "untitled app",
            print_gl_info: false,
        }
    }
/// Returns a new `AppInfo`, initialized with the maximum app dimensions.
///
/// These dimensions are specified in conceptual "app pixels",
/// which defines the units used by the renderers.
/// Even if a window is resized, this conecptual `max_width` and `max_height`
/// will never be exceeded.
/// Max width/height must be at least 1.
Returns a new `AppInfo`, initialized with the maximum app dimensions.
These dimensions are specified in conceptual "app pixels",
which defines the units used by the renderers.
Even if a window is resized, this conecptual `max_width` and `max_height`
will never be exceeded.
Max width/height must be at least 1.
Returns a new ` AppInfo ` initialized with the maximum app dimensions . These dimensions are specified in conceptual " app pixels " which defines the units used by the renderers . Even if a window is resized this conecptual ` max_width ` and ` max_height ` will never be exceeded . Max width / height must be at least 1 .
pub fn with_max_dims(max_width: f64, max_height: f64) -> AppInfo {
        assert!(max_width >= 1. && max_width <= 3000., "unrealistic max_width: {}", max_width);
        assert!(max_height >= 1. && max_height <= 3000., "unrealistic max_height: {}", max_height);
        AppInfo {
            window_pixels: (800, 600),
            min_dims: (0., 0.),
            max_dims: (max_width, max_height),
            tile_width: None,
            title: "untitled app",
            print_gl_info: false,
        }
    }
pub fn with_max_dims ( max_width : f64 , max_height : f64 ) -> AppInfo { assert ! ( max_width 1. max_width 3000. " " max_width ) ; assert ! ( max_height 1. max_height 3000. " " max_height ) ; AppInfo { window_pixels : ( 800 , 600 ) , min_dims : ( 0. , 0. ) , max_dims : ( max_width , max_height ) , tile_width : None , title : " " , print_gl_info : false , } }
Returns a new `AppInfo`, initialized with the maximum app dimensions.
Returns a new ` AppInfo ` initialized with the maximum app dimensions .
max_width
f64
max_height
f64
max_width
f64
max_height
f64