RenderWare V2.1

Previous Page Index Next Page

RwLight *

RwTransformLight(RwLight *light, RwMatrix4d *matrix,
RwCombineOperation op);

Description

Applies a transformation matrix to the light’s current position and direction vector (if applicable)

Arguments

light Pointer to the light.

matrix Pointer to the transformation matrix.

op Combination operator.

Return Value

The argument light if successful and NULL otherwise.

See Also

RwCreateLight()

RwGetClumpLTM()

RwGetCameraLTM()

RwGetLightLTM()

RwGetLightPosition()

RwGetLightVector()

RwSetLightPosition()

RwSetLightVector()

RwTransformCamera()

RwTransformClump()