center property
Vector2
center
Get the center of the AABB
Implementation
Vector2 get center => (lowerBound + upperBound)..scale(0.5);
Get the center of the AABB
Vector2 get center => (lowerBound + upperBound)..scale(0.5);