RwDisc(RwReal height, RwReal radius, RwInt32 nsides);
Description
Adds a disc to the current clump under construction. The disc is transformed by the CTM, and the current material is assigned to its polygons. The disc lies on the Y = height plane, centered about the Y axis. This function is primarily used to cap cones and cylinders.
Arguments
height Disc plane.
radius Radius of the disc.
nsides Number of sides.
Return Value
TRUE if successful, and FALSE otherwise.
Comments
It is an error if the discs radius is degenerate, i.e., CREAL(0.0).
Note that it is possible for the argument radius to have a negative value. In which case, the polygons forming the disc will be reversed.
This function can only be called within the context of an RwClumpBegin() RwClumpEnd() or RwProtoBegin() RwProtoEnd() block.
See Also
RwBlock()
RwCone()
RwSphere()