Cylinder <height> <baserad> <toprad> <nsides>
Description
Adds polygons representing a cylinder to the current clump under construction.
Arguments
height The height of the cylinder (up the Y axis).
baserad The radius of the cylinder base (in the X-Z plane).
toprad The radius of the cylinder top.
nsides The number of sides.
Comments
The vertices of the cylinder are transformed by the current transformation matrix (CTM). The current material is applied to the polygons of the cylinder.
If a negative radius is given, the polygons forming the cylinder will face towards the axis of the cylinder.
API Equivalent