• Creates a new vec2 initialized with the given values

    Parameters

    • x: number

      X component

    • y: number

      Y component

    Returns vec2

    a new 2D vector

Generated using TypeDoc