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

    Function setV3

    • Copies the 3-element vector b and the value w into the 4-element vector a

      Parameters

      • a: Vec4

        a 4-element vector object

      • b: Vec3

        a 3-element vector object

      • w: number

        the fourth element

      Returns Vec4

      a with its first three elements set to be a copy of b and the fourth set to w