expandByPoint method

Box2 expandByPoint(
  1. Vector2 point
)

Implementation

Box2 expandByPoint(Vector2 point) {
  min.min(point);
  max.max(point);

  return this;
}