Function set

  • Set the components of a vec2 to the given values

    Parameters

    • out: Vec2

      the receiving vector

    • x: number

      X component

    • y: number

      Y component

    Returns Vec2

    out