• Shorthand for creating new Vectors - returns a new Vector instance with the provided X and Y components.

    Parameters

    • x: number

      X component of the Vector

    • y: number

      Y component of the Vector

    Returns Vector