Function newcone
#include <macaw3d.h>int newcone(int segments, int texture);
Makes a cone with its point at y = 1 and a closed, round base of radius 1 at y = -1.
Parameters
segmentsint- How many flat sides it has round it. 0 or less: 16.
textureint- The picture to wrap round it. 0: plain light grey.
Returns int
The new cone's number.
In Shapes, terrain and models, with newcube, newsphere, newcylinder, newplane, newterrain, newterrainfn, newmesh, newmodel, newsprite, newpivot.