Function parry2d_f64::query::details::clip_aabb_line [−][src]
pub fn clip_aabb_line(
aabb: &AABB,
origin: &Point<Real>,
dir: &Vector<Real>
) -> Option<((Real, Vector<Real>, isize), (Real, Vector<Real>, isize))>
Computes the segment given by the intersection of a line and an AABB.