parry3d::query::details

Function ray_toi_with_halfspace

source
pub fn ray_toi_with_halfspace(
    center: &Point<f32>,
    normal: &Vector<f32>,
    ray: &Ray,
) -> Option<f32>
Expand description

Computes the time_of_impact of a ray with a halfspace described by its center and normal.