Contents

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.

See Also

Creating a Vector