Contents

init(_:)

Creates a new quaternion from a 3 x 3 rotation matrix.

Declaration

init(_ rotationMatrix: simd_double3x3)

Parameters

  • rotationMatrix:

    The rotation matrix that must be orthogonal and have a determinant of 1.

See Also

Initializing a quaternion