Aabb3.centerAndHalfExtents constructor Null safety

Aabb3.centerAndHalfExtents(
  1. Vector3 center,
  2. Vector3 halfExtents
)

Create a new AABB with a center and halfExtents.

Implementation

factory Aabb3.centerAndHalfExtents(Vector3 center, Vector3 halfExtents) =>
    Aabb3()..setCenterAndHalfExtents(center, halfExtents);