simd_quaternion(_:)
Declaration
func simd_quaternion(_ xyzr: simd_half4) -> simd_quathDiscussion
Constructs a quaternion from a four-element vector.
Note that the imaginary (vector) part of the quaternion comes from lanes 0, 1, and 2 of the vector, and the real (scalar) part comes from lane 3.