package org.papervision3d.objects.primitives { import org.papervision3d.core.proto.*; /** * The Cone class lets you create and display Cones. *

* The Cone is divided in vertical and horizontal segment, the smallest combination is two vertical and three horizontal segments. */ public class Cone extends Cylinder { // ___________________________________________________________________________________________________ // N E W // NN NN EEEEEE WW WW // NNN NN EE WW WW WW // NNNNNN EEEE WWWWWWWW // NN NNN EE WWW WWW // NN NN EEEEEE WW WW /** * Create a new Cone object. *

* @param material A MaterialObject3D object that contains the material properties of the object. *

* @param radius [optional] - Desired radius. *

* @param segmentsW [optional] - Number of segments horizontally. Defaults to 8. *

* @param segmentsH [optional] - Number of segments vertically. Defaults to 6. *

*/ public function Cone( material:MaterialObject3D=null, radius:Number=100, height:Number=100, segmentsW:int=8, segmentsH:int=6 ) { super( material, radius, height, segmentsW, segmentsH, 0 ); } } }