setCenterAndHalfExtents method Null safety
Set the AABB by a center
and halfExtents
.
Implementation
void setCenterAndHalfExtents(Vector3 center, Vector3 halfExtents) {
_min
..setFrom(center)
..sub(halfExtents);
_max
..setFrom(center)
..add(halfExtents);
}