size static method

Vec2D size(
  1. Vec2D out,
  2. AABB a
)

Implementation

static Vec2D size(Vec2D out, AABB a) {
  out[0] = a[2] - a[0];
  out[1] = a[3] - a[1];
  return out;
}