Function heron::rapier_plugin::rapier3d::parry::query::details::line_toi_with_halfspace
source · pub fn line_toi_with_halfspace(
halfspace_center: &OPoint<f32, Const<3>>,
halfspace_normal: &Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>,
line_origin: &OPoint<f32, Const<3>>,
line_dir: &Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>
) -> Option<f32>
Expand description
Computes the toi of an unbounded line with a halfspace described by its center and normal.