RenderWare V2.1

Previous Page Index Next Page

RwClump *

RwGetClumpLocalBBox(RwClump *clump, RwV3d *bll, RwV3d *fur);

Description

Retrieves the bounding box of the clump in local space coordinates.

Arguments

clump Pointer to the clump.

bll Pointer to the point that will receive the back, lower, left coordinates of the bounding box (in local space coordinates).

fur Pointer to the point that will receive the front, upper, right coordinates of the bounding box (in local space coordinates).

Return Value

The argument clump if successful, and NULL otherwise.

Comments

This function is closely related to RwGetClumpBBox(). However, this function returns a bounding box which is in local coordinate space (i.e., has not been transformed by the clump’s LTM).

Note that this function is not recursive; it returns the bounding box of the specified clump only and not its descendants.

See Also

RwGetClumpBBox()

RwGetClumpViewportRect()