RenderWare V2.1

Previous Page Index Next Page

RwBool

RwScaleCTM(RwReal sx, RwReal sy, RwReal sz);

Description

Pre-concatenates a scaling matrix onto the CTM.

Arguments

sx Scale factor in the X axis.

sy Scale factor in the Y axis.

sz Scale factor in the Z axis.

Return Value

TRUE if successful, and FALSE otherwise

Comments

Note that if no scaling is to be applied CREAL(1.0) should be specified rather than CREAL(0.0).

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

See Also

RwIdentityCTM()

RwIdentityJointTM()

RwModelBegin()

RwModelEnd()

RwRotateCTM()

RwRotateJointTM()

RwScaleMatrix()

RwTransformCTM()

RwTransformJointTM()

RwTranslateCTM()