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

    Function subV

    • a = a - b

      Subtracts the 2-element vector b from 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