Function Quat_FromMtx
Source pub unsafe extern "C" fn Quat_FromMtx(m: *const C3D_Mtx) -> C3D_FQuat
Expand description
Get Quaternion equivalent to 4x4 matrix
Note: If the matrix is orthogonal or special orthogonal, where determinant(matrix) = +1.0f, then the matrix can be converted.
§Arguments
m (direction in) - Input Matrix
§Returns
Generated Quaternion