init(ix:iy:iz:r:)
Creates a new quaternion from four scalar values that specify the imaginary and real parts.
Declaration
init(ix: Double, iy: Double, iz: Double, r: Double)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.