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

    Function setOne

    • Sets all elements of the 2-element vector a to one

      Parameters

      • a: Vec2

        a 2-element vector object

      Returns Vec2

      a with all elements set to one