DRAW_CONE
Draws a cone with the base of DRAW_CYLINDER; its tip lies h voxels from the base in direction. The line is the rim of the base.
Parameters and results
canvasTYPE c0de_paint/cpaint/CANVAS: the canvas (a variable)centerSTRUCT c0de_paint/cpaint/POINT: the center of the baser,hINTEGER: the radius and the heightdirectionSTRING: the direction of the tipline_style,side_style,fill_styleTYPE c0de_paint/cpaint/STYLE: the styles (optional)
Example
c0de
CALL c0de_paint/cpaint/DRAW_CONE
PARAMETER canvas c ;
PARAMETER center roof ;
PARAMETER r 5 ;
PARAMETER h 6 ;
PARAMETER direction "+y" ;
PARAMETER fill_style shingles ;