containsAabb2 method

bool containsAabb2(
  1. Aabb2 other
)
inherited

Return if this contains other.

Implementation

bool containsAabb2(Aabb2 other) =>
    min.x < other.min.x && //
    min.y < other.min.y &&
    max.x > other.max.x &&
    max.y > other.max.y;