[−][src]Function mutiny::physics::ray_from_screen
pub fn ray_from_screen(
screen_pos: &Pnt2,
camera_pos: &Pnt3,
viewport: &Rect<i32>,
projection: &Mat4,
view: &Mat4
) -> Ray<f32>
pub fn ray_from_screen(
screen_pos: &Pnt2,
camera_pos: &Pnt3,
viewport: &Rect<i32>,
projection: &Mat4,
view: &Mat4
) -> Ray<f32>