AABB.copy constructor

AABB.copy(
  1. AABB copy
)

Copies from the given object.

Implementation

AABB.copy(AABB copy)
    : lowerBound = Vector2.copy(copy.lowerBound),
      upperBound = Vector2.copy(copy.upperBound);