@sstorsveen/maths - v2.0.1
    Preparing search index...

    Function mag

    • Calculates the magnitude of the 3-element vector a

      (See also sqrMag)

      Parameters

      • a: Vec3

        a 3-element vector object

      Returns number

      |a|