Function heron::rapier_plugin::rapier2d::parry::query::details::ray_toi_with_halfspace [−][src]
pub fn ray_toi_with_halfspace(
center: &OPoint<f32, Const<2_usize>>,
normal: &Matrix<f32, Const<{_: usize}>, Const<1_usize>, ArrayStorage<f32, 2_usize, 1_usize>>,
ray: &Ray
) -> Option<f32>
Expand description
Computes the toi of a ray with a halfspace described by its center and normal.