RenderWare V2.1

Previous Page Index Next Page

Disc <height> <radius> <nsides>

Description

Adds polygons representing a disc to the current clump under construction.

Arguments

height The displacement (up the Y axis) of the disc.

radius The radius of the disc.

nsides The number of sides.

Comments

This keyword is normally used for capping cones and cylinders.

The vertices of the disc are transformed by the current transformation matrix (CTM). The current material is applied to the polygons of the disc.

If a negative radius is given the polygons forming the disc will face downwards.

API Equivalent

RwDisc()