RenderWare V2.1

Previous Page Index Next Page

RwV3d *

RwTransformVector(RwV3d *vector, RwMatrix4d *matrix);

Description

Applies a transformation matrix to a vector. However, since a vector does not have a position in space, the translation component of the matrix is ignored.

Arguments

vector Pointer to the vector.

matrix Pointer to the transformation matrix.

Return Value

The argument vector if successful, and NULL otherwise.

See Also

RwAddVector()

RwCrossProduct()

RwDotProduct()

RwNormalize()

RwScaleVector()

RwSubtractVector()

RwTransformPoint()