containsAabb2 method
Return if this contains other
.
Implementation
bool containsAabb2(Aabb2 other) {
final otherMax = other._max;
final otherMin = other._min;
return (_min.x < otherMin.x) &&
(_min.y < otherMin.y) &&
(_max.y > otherMax.y) &&
(_max.x > otherMax.x);
}