pub fn line_toi_with_halfspace(
halfspace_center: &Point<f32>,
halfspace_normal: &Vector<f32>,
line_origin: &Point<f32>,
line_dir: &Vector<f32>,
) -> Option<f32>
Expand description
Computes the time_of_impact of an unbounded line with a halfspace described by its center and normal.