RwSetMatrixElements(RwMatrix4d *matrix, RwReal elements[4][4]);
Description
Sets the elements of a matrix from a four by four array of RwReals. The first four entries of the array are copied into the top row of the matrix.
Arguments
matrix Pointer to the matrix.
elements Pointer to a four by four array of RwReals holding the values to be copied.
Return Value
The argument matrix if successful, and NULL otherwise.
Comments
By convention a matrix is taken to transform a row vector by post multiplication.
The final column of the array will normally be [CREAL(0.0), CREAL(0.0), CREAL(0.0), CREAL(1.0)].
See Also