RwBlock(RwReal width, RwReal height, RwReal depth);
Description
Adds a block, centered about the origin, to the current clump under construction. The block is transformed by the CTM, and the current material is applied to its polygons.
Arguments
width Block width.
height Block height.
depth Block depth.
Return Value
TRUE if successful, and FALSE otherwise.
Comments
It is an error if any of the blocks dimensions are degenerate, i.e., CREAL(0.0).
This function can only be called within the context of an RwClumpBegin() RwClumpEnd() or RwProtoBegin() RwProtoEnd() block.
See Also
RwCone()
RwDisc()
RwSphere()