areEqual static method

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

Implementation

static bool areEqual(AABB a, AABB b) {
  return a.left == b.left &&
      a.top == b.top &&
      a.right == b.right &&
      a.bottom == b.bottom;
}