Vector.mag()

Calculates the magnitude (length) of the vector and returns the result as a float

Type: function

Returns:

  • {Number}:

    The length.