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