RenderWare V2.1

Previous Page Index Next Page

RwV3d *

RwGetLightVector(RwLight *light, RwV3d *vector);

Description

Retrieves the illumination vector of a directional or conical light.

Arguments

light Pointer to the light.

vector Pointer to a vector that will receive the light’s vector.

Return Value

The argument vector if successful, and NULL otherwise.

See Also

RwCreateLight()

RwSetLightVector()

RwTransformLight()