contains static method

bool contains(
  1. AABB a,
  2. AABB b
)

Implementation

static bool contains(AABB a, AABB b) {
  return a[0] <= b[0] && a[1] <= b[1] && b[2] <= a[2] && b[3] <= a[3];
}