f32/d3/rect.go
func (r Rectangle) Overlaps(s Rectangle) bool {
	return !r.Empty() && !s.Empty() &&
		r.Min[0] < s.Max[0] && s.Min[0] < r.Max[0] &&
		r.Min[1] < s.Max[1] && s.Min[1] < r.Max[1] &&
		r.Min[2] < s.Max[2] && s.Min[2] < r.Max[2]
}
func (r Rectangle) Overlaps(s Rectangle) bool {
	return !r.Empty() && !s.Empty() &&
		r.Min[0] < s.Max[0] && s.Min[0] < r.Max[0] &&
		r.Min[1] < s.Max[1] && s.Min[1] < r.Max[1] &&
		r.Min[2] < s.Max[2] && s.Min[2] < r.Max[2]
}
func ( r Rectangle ) Overlaps ( s Rectangle ) bool { return ! r . Empty ( ) && ! s . Empty ( ) && r . Min [ 0 ] < s . Max [ 0 ] && s . Min [ 0 ] < r . Max [ 0 ] && r . Min [ 1 ] < s . Max [ 1 ] && s . Min [ 1 ] < r . Max [ 1 ] && r . Min [ 2 ] < s . Max [ 2 ] && s . Min [ 2 ] < r . Max [ 2 ] }
// Overlaps reports whether r and s have a non-empty intersection.
Overlaps reports whether r and s have a non - empty intersection .