RenderWare V2.1

Previous Page Index Next Page

RwV3d *

RwCrossProduct(RwV3d *a, RwV3d *b, RwV3d *c);

Description

Calculates the cross product of two vectors.

Arguments

a Pointer to the left vector.

b Pointer to the right vector.

c Pointer to the vector that will receive the result.

Return Value

The argument c if successful, and NULL otherwise.

Comments

c must not point to the same vector as either of the other arguments.

See Also

RwAddVector()

RwDotProduct()

RwNormalize()

RwScaleVector()

RwSubtractVector()

RwTransformVector()