set method

void set(
  1. AABB aabb
)

Sets this object from the given object @param aabb the object to copy from

Implementation

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