AABB.fromMinMax constructor

AABB.fromMinMax(
  1. Vec2D min,
  2. Vec2D max
)

Implementation

AABB.fromMinMax(Vec2D min, Vec2D max)
    : left = min.x,
      top = min.y,
      right = max.x,
      bottom = max.y;