Function rin_graphics::screen_to_world [−][src]
pub fn screen_to_world(
screen: &Pnt2,
depth: ScreenZ,
projection_view: &Mat4,
viewport: &Rect<i32>
) -> Pnt3
Converts a screen position + a z value in either world coordinates or normalized depth into a world 3d position