RenderWare V2.1

Previous Page Index Next Page

RwMatrix4d *

RwRotateMatrix(RwMatrix4d *matrix, RwReal rx, RwReal ry, RwReal rz, RwReal angle, RwCombineOperation op);

Description

Builds a rotation matrix and applies it to matrix. The operation may be a pre-concatenation, post-concatenation, or replacement.

Arguments

matrix Pointer to the matrix.

rx X component of the axis of rotation.

ry Y component of the axis of rotation.

rz Z component of the axis of rotation.

angle Angle of rotation (in degrees).

op Combination operator.

Return Value

The argument matrix if successful, and NULL otherwise.

See Also

RwIdentityMatrix()

RwInvertMatrix()

RwMultiplyMatrix()

RwOrthoNormalizeMatrix()

RwQueryRotateMatrix()

RwRotateCTM()

RwRotateJointTM()

RwRotateMatrixCos()

RwScaleMatrix()

RwTransformMatrix()

RwTranslateMatrix()