• Calculates the magnitude of the two-element vector a

    (See also sqrMag)

    Parameters

    • a: Vec2

      a 2-element vector object

    Returns number

    |a|

Generated using TypeDoc