Q3Quaternion_SetMatrix
You can use theQ3Quaternion_SetMatrixfunction to configure a quaternion from a matrix.
TQ3Quaternion *Q3Quaternion_SetMatrix ( TQ3Quaternion *quaternion, const TQ3Matrix4x4 *matrix);
quaternion- A quaternion.
matrix- A 4-by-by matrix.
DESCRIPTION
TheQ3Quaternion_SetMatrixfunction returns, as its function result and in thequaternionparameter, a quaternion that has the same transformational properties as the matrix specified by thematrixparameter.