Function parry3d::query::details::line_toi_with_halfspace

source ·
pub fn line_toi_with_halfspace(
    halfspace_center: &Point<Real>,
    halfspace_normal: &Vector<Real>,
    line_origin: &Point<Real>,
    line_dir: &Vector<Real>
) -> Option<Real>
Expand description

Computes the time_of_impact of an unbounded line with a halfspace described by its center and normal.