copy static method

AABB copy(
  1. AABB out,
  2. AABB a
)

Implementation

static AABB copy(AABB out, AABB a) {
  out.left = a.left;
  out.top = a.top;
  out.right = a.right;
  out.bottom = a.bottom;
  return out;
}