center property

Vector3 get center

The center of the AABB.

Implementation

Vector3 get center =>
    _min.clone()
      ..add(_max)
      ..scale(0.5);