Function rin::scene::physics::ray_from_screen_camera [−][src]
pub fn ray_from_screen_camera(
screen_pos: &Point<f32, U2>,
viewport: &Rect<i32>,
camera: &dyn CameraExt
) -> Ray<f32>
pub fn ray_from_screen_camera(
screen_pos: &Point<f32, U2>,
viewport: &Rect<i32>,
camera: &dyn CameraExt
) -> Ray<f32>