Vector.limit(high)

Normalizes the length of this vector to the given parameter.

Type: function

Parameter(s):

  • high {Number}:

    The value to scale to.