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

    Function addV

    • a = a + b

      Adds the 2-element vector b to the 2-element vector a and stores the result in a

      Parameters

      • a: Vec2

        a 2-element vector object

      • b: Vec2

        a 2-element vector object

      Returns Vec2

      a as the result of a + b