Aabb2.minMax constructor Null safety
Create a new AABB with a min
and max
.
Implementation
Aabb2.minMax(Vector2 min, Vector2 max)
: _min = Vector2.copy(min),
_max = Vector2.copy(max);
Create a new AABB with a min
and max
.
Aabb2.minMax(Vector2 min, Vector2 max)
: _min = Vector2.copy(min),
_max = Vector2.copy(max);