RenderWare V2.1

Previous Page Index Next Page

RwMatrix4d *

RwGetClumpLTM(RwClump *clump, RwMatrix4d *matrix);

Description

Retrieves the clump’s Local Transformation Matrix (LTM) which maps object space to world space.

Arguments

clump Pointer to the clump.

matrix Pointer to the matrix that will receive the clump’s LTM.

Return Value

The argument matrix if successful, and NULL otherwise.

Comments

The clump’s LTM is the result of the concatenation of all modeling and joint (articulation) matrices from this clump to the root of the hierarchy.

See Also

RwAddChildToClump()

RwGetClumpJointMatrix()

RwGetClumpMatrix()

RwGetClumpParent()

RwGetClumpRoot()

RwGetFirstChildClump()

RwGetNextClump()

RwNormalizeClump()

RwTransformClump()

RwTransformClumpJoint()