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

    Function norm

    • a = รข

      Normalises the two-element vector a and stores the result in a

      Parameters

      • a: Vec2

        a 2-element vector object

      Returns Vec2

      a normalised