Function rin::scene::physics::ray_from_screen[][src]

pub fn ray_from_screen(
    screen_pos: &Point<f32, U2>,
    camera_pos: &Point<f32, U3>,
    viewport: &Rect<i32>,
    proj_view: &Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
) -> Ray<f32>