RenderWare V2.1

Previous Page Index Next Page

RwV3d *

RwGetPolygonNormal(RwPolygon3d *polygon, RwV3d *normal);

Description

Retrieves the polygon’s surface normal vector.

Arguments

polygon Pointer to the polygon.

normal Pointer to the vector that will receive the polygon normal.

Return Value

The argument normal if successful, and NULL otherwise.

See Also

RwGetClumpVertexNormal()

RwGetPolygonCenter()