getCenterToOut method

void getCenterToOut(
  1. Vector2 out
)

Implementation

void getCenterToOut(final Vector2 out) {
  out.x = (lowerBound.x + upperBound.x) * .5;
  out.y = (lowerBound.y + upperBound.y) * .5;
}