Function parry2d::query::details::clip_aabb_line

source ยท
pub fn clip_aabb_line(
    aabb: &Aabb,
    origin: &Point<Real>,
    dir: &Vector<Real>
) -> Option<((Real, Vector<Real>, isize), (Real, Vector<Real>, isize))>
Expand description

Computes the segment given by the intersection of a line and an Aabb.