RenderWare V2.1

Previous Page Index Next Page

RwReal

RwClumpDistance(RwClump *clump, RwV3d *point);

Description

Calculates the distance from the origin of the clump to the point (in world space units).

Arguments

clump Pointer to the clump.

point Pointer to the point.

Return Value

The distance between the origin of the clump and the point in world space units if successful. Errors can be checked for using RwGetError().

See Also

RwGetClumpOrigin()