center property

Vector2 center

Get the center of the AABB

Implementation

Vector2 get center => (lowerBound + upperBound)..scale(0.5);