RenderWare V2.1

Previous Page Index Next Page

RwReal *

RwGetMatrixElements(RwMatrix4d *matrix, RwReal elements[4][4]);

Description

Retrieves the elements of a matrix into a four by four array of RwReals. The top row of the matrix is copied into the first four array entries.

Arguments

matrix Pointer to the matrix.

elements Pointer to a four by four array of RwReals to receive the elements of the matrix.

Return Value

The argument elements if successful, and NULL otherwise.

Comments

By convention a matrix is taken to transform a row vector by post multiplication.

See Also

RwGetMatrixElement()

RwSetMatrixElement()

RwSetMatrixElements()