Range2D.fromSides constructor

Range2D.fromSides(
  1. Range horizontal,
  2. Range vertical
)

Implementation

Range2D.fromSides(Range horizontal, Range vertical)
  : leftTop = IntVector2(horizontal.start, vertical.start),
    rightBottom = IntVector2(horizontal.end, vertical.end);