Function heron::rapier_plugin::rapier3d::parry::query::details::ray_toi_with_halfspace
source · pub fn ray_toi_with_halfspace(
center: &OPoint<f32, Const<3>>,
normal: &Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>,
ray: &Ray
) -> Option<f32>
Expand description
Computes the toi of a ray with a halfspace described by its center and normal.