Contents

init(ix:iy:iz:r:)

Creates a new quaternion from four scalar values that specify the imaginary and real parts.

Declaration

init(ix: Float, iy: Float, iz: Float, r: Float)

Parameters

  • ix:

    The first component of the imaginary part.

  • iy:

    The second component of the imaginary part.

  • iz:

    The third component of the imaginary part.

  • r:

    The real part.

See Also

Initializing a quaternion