Aabb2.minMax constructor

Aabb2.minMax(
  1. Vector2 min,
  2. Vector2 max
)

Create a new AABB with a min and max.

Implementation

Aabb2.minMax(Vector2 min, Vector2 max)
    : _min = Vector2.copy(min),
      _max = Vector2.copy(max);