RenderWare V2.1

Previous Page Index Next Page

RwBool

RwHemisphere(RwReal radius, RwInt32 density);

Description

Adds a hemisphere to the current clump. The hemisphere is transformed by the CTM, and the current material is assigned to its polygons. The base of the hemisphere lies on the X-Z plane.

Arguments

radius Radius of the hemisphere.

density Density of facets in the hemisphere. The number of facets increases exponentially with density.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

This function can only be called within the context of an RwClumpBegin()RwClumpEnd() or RwProtoBegin()RwProtoEnd() block.

See Also

RwBlock()

RwClumpBegin()

RwClumpEnd()

RwCone()

RwCylinder()

RwDisc()

RwProtoBegin()

RwProtoEnd()

RwSphere()