set method

Box2 set(
  1. Vector2 min,
  2. Vector2 max
)

Implementation

Box2 set(Vector2 min, Vector2 max) {
  this.min.copy(min);
  this.max.copy(max);

  return this;
}