Aabb2.centerAndHalfExtents constructor Null safety
Create a new AABB with a center
and halfExtents
.
Implementation
factory Aabb2.centerAndHalfExtents(Vector2 center, Vector2 halfExtents) =>
Aabb2()..setCenterAndHalfExtents(center, halfExtents);