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