Function gl_utils::camera3d::aspect_ratio [−][src]
pub fn aspect_ratio(viewport_width: u16, viewport_height: u16) -> f32
Computes floating point 'width/height' ratio from unsigned resolution input
pub fn aspect_ratio(viewport_width: u16, viewport_height: u16) -> f32
Computes floating point 'width/height' ratio from unsigned resolution input