Function set

  • Sets the values of a Vec4 Also see vec4.create and vec4.copy

    Parameters

    • x: number

      first value

    • y: number

      second value

    • z: number

      third value

    • w: number

      fourth value

    • Optional dst: Vec4

      vector to hold result. If not passed in a new one is created.

    Returns Vec4

    A vector with its elements set.