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

    Function set

    • Sets the elements of the 2-element vector a to the given values

      Parameters

      • a: Vec2

        a 2-element vector object

      • x: number

        the first element

      • y: number

        the second element

      Returns Vec2

      a with elements set to the given values