expandByVector method

Box2 expandByVector(
  1. Vector2 vector
)

Implementation

Box2 expandByVector(Vector2 vector) {
  min.sub(vector);
  max.add(vector);

  return this;
}