Function set

  • Sets the values of a Vec3 Also see vec3.create and vec3.copy

    Parameters

    • x: number

      first value

    • y: number

      second value

    • z: number

      third value

    • Optional dst: Vec3

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

    Returns Vec3

    A vector with its elements set.