RenderWare V2.1

Previous Page Index Next Page

RwClump *

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

Description

Sets the bounding box volume for a clump.

Arguments

clump Pointer to the clump.

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

fur Pointer to the point that will set 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 allows the creation of 'empty' clumps of arbitrary volume, which can then be used with immediate mode call backs. This function will allow the setting of a local space bounding box on any clump. It performs no checking if the volume does in fact encapsulate all of the points within the clump. If it is the case that the volume set is less than the volume bounded by all of the points making up the clump it is likely that rendering errors will occur, with both Z buffering and damage areas.

See Also

RwSetClumpLocalBBox()

RwSetupImmediateLine()

RwSetupImmediateTriangle()

RwImmediateBegin()

RwImmediateEnd()

RwRenderImmediateTriangle()

RwRenderImmediateLine()

RwRenderImmediateClump()

RwGetClumpImmVertex()

RwImmVertexPixelSpace()

RwImmZBufferDepth()

RwSetImmediateZRange()