pub fn overlaps_aabb2_aabb2<S>(a: Aabb2<S>, b: Aabb2<S>) -> boolwhere
S: Copy + PartialOrd,Expand description
Overlap test of 2D axis-aligned bounding boxes.
AABBs that are merely touching are not counted as intersecting:
let a = Aabb2::with_minmax ([ 0.0, 0.0].into(), [1.0, 1.0].into()).unwrap();
let b = Aabb2::with_minmax ([-1.0, 0.0].into(), [0.0, 1.0].into()).unwrap();
assert!(!overlaps_aabb2_aabb2 (a, b));