Skip to main content

screen_to_world_ray

Function screen_to_world_ray 

Source
pub fn screen_to_world_ray(
    screen_x: f32,
    screen_y: f32,
    screen_width: f32,
    screen_height: f32,
    inv_view_proj: Mat4,
) -> (Vec3, Vec3)