fromRotationMatrix
fun fromRotationMatrix(matrix: Matrix3, result: Quaternion? = definedExternally): Quaternion(source)
Computes a Quaternion from the provided Matrix3 instance.
Return
The modified result parameter or a new Quaternion instance if one was not provided.
Parameters
matrix
The rotation matrix.
result
The object onto which to store the result.