• Creates a new 4-element vector object initialized to the values of the 3-element vector b and the value w

    Parameters

    • b: Vec3

      a 3-element vector object

    • w: number

      the fourth element

    Returns Vec4

    the new 4-element vector object

Generated using TypeDoc