Function parry3d::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.