init(xComponent:yComponent:)
Creates a new vector in Cartesian coordinate space, based on its x-axis and y-axis projections.
Declaration
init(xComponent x: Double, yComponent y: Double)Parameters
- x:
The x-component.
- y:
The y-component.
Creates a new vector in Cartesian coordinate space, based on its x-axis and y-axis projections.
init(xComponent x: Double, yComponent y: Double)The x-component.
The y-component.