init(_:)
Creates a new quaternion from a 3 x 3 rotation matrix.
Declaration
init(_ rotationMatrix: simd_float3x3)Parameters
- rotationMatrix:
The rotation matrix that must be orthogonal and have a determinant of
1.
Creates a new quaternion from a 3 x 3 rotation matrix.
init(_ rotationMatrix: simd_float3x3)The rotation matrix that must be orthogonal and have a determinant of 1.