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

    Function setUnitW

    • Sets the elements of the 4D vector a so it becomes a unit vector along the w-axis

      Parameters

      • a: Vec4

        a 4-element vector object

      Returns Vec4

      a set to be a unit vector along the w-axis