set method

void set(
  1. AABB aabb
)

Sets this object from the given object.

Implementation

void set(AABB aabb) {
  final v = aabb.lowerBound;
  lowerBound.x = v.x;
  lowerBound.y = v.y;
  final v1 = aabb.upperBound;
  upperBound.x = v1.x;
  upperBound.y = v1.y;
}