Contents

simd_quaternion(_:_:_:_:)

Declaration

func simd_quaternion(_ ix: Float16, _ iy: Float16, _ iz: Float16, _ r: Float16) -> simd_quath

Parameters

  • ix:

    The first component of the imaginary (vector) part.

  • iy:

    The second component of the imaginary (vector) part.

  • iz:

    The third component of the imaginary (vector) part.

  • r:

    The real (scalar) part.

Discussion

Constructs a quaternion from four scalar values.