Function clamp

  • clamp a value

    Parameters

    • v: number

      value to clamp

    • min: number

      min value

    • max: number

      max value

    Returns number

    clamped value

Generated using TypeDoc