RenderWare V2.1

Previous Page Index Next Page

RwBool

RwTranslateCTM(RwReal tx, RwReal ty, RwReal tz);

Description

Pre-concatenates a translation matrix onto the CTM.

Arguments

tx Translation parallel to the X axis.

ty Translation parallel to the Y axis.

tz Translation parallel to the Z axis.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

This function can only be called within the context of an RwModelBegin()RwModelEnd() block.

See Also

RwIdentityCTM()

RwModelBegin()

RwModelEnd()

RwRotateCTM()

RwScaleCTM()

RwTransformCTM()