Skip to main content

screen_to_ndc

Function screen_to_ndc 

Source
pub fn screen_to_ndc(screen: (f32, f32), size: (u32, u32)) -> (f32, f32)