RenderWare V2.1

Previous Page Index Next Page

Cone <height> <radius> <nsides>

Description

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

Arguments

height The height of the cone (up the Y axis).

radius The radius of the cone (in the X-Z plane).

nsides The number of sides.

Comments

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

If a negative radius is given, the polygons forming the cone will face towards the axis of the cone.

API Equivalent

RwCone()