NumericViewport constructor

const NumericViewport(
  1. num min,
  2. num max
)

Precondition: min <= max.
it is recommended that the min and max distance be greater than equal to 1.5

Implementation

const NumericViewport(this.min, this.max);