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

    Function setOne

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

      Parameters

      • a: Vec3

        a 3-element vector object

      Returns Vec3

      a with all elements set to one