discrete_aabb3_aabb3

Function discrete_aabb3_aabb3 

Source
pub fn discrete_aabb3_aabb3<S: OrderedRing>(a: &Aabb3<S>, b: &Aabb3<S>) -> bool
Expand description

Discrete intersection test of 3D axis-aligned bounding boxes.

AABBs that are merely touching are not counted as intersecting:

let a = Aabb3::from_points ([ 0.0, 0.0, 0.0].into(), [1.0, 1.0, 1.0].into());
let b = Aabb3::from_points ([-1.0, 0.0, 0.0].into(), [0.0, 1.0, 1.0].into());
assert!(!discrete_aabb3_aabb3 (&a, &b));