20 Managing Quaternions
Q3Quaternion_SetMatrix
function to configure a quaternion from a matrix.
TQ3Quaternion *Q3Quaternion_SetMatrix ( TQ3Quaternion *quaternion, const TQ3Matrix4x4 *matrix);quaternion
A quaternion.matrix
A 4-by-by matrix.
Q3Quaternion_SetMatrix
function returns, as its function result and in the quaternion
parameter, a quaternion that has the same transformational properties as the matrix specified by the matrix
parameter.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker