containsBounds method

bool containsBounds(
  1. AABB b
)

Implementation

bool containsBounds(AABB b) {
  return left <= b.left &&
      right <= b.top &&
      b.right <= right &&
      b.bottom <= bottom;
}