By default, a cone with its base at the origin and its tip along the x axis
will be created.
sidesnumber — number of sides (10)
radiusnumber — radius of cone base
normalsflat | curve — flat normals will make light
shading across a face cone constant. curve will gradiate the shading. Use
curve to make a surface look more round with fewer number of sides.
(flat)
lineTypeParsableLine — line that can position and
orient the cone. First point of line is cone base center, and second point
is cone tip.
lengthnumber — length of the cone along the x axis if
line isn't defined (1)
rotationnumber — rotation of base - this is only noticable for
small numbers of sides (0)
linesboolean — if true then points representing
the edes of the faces will be returned. If false, then points
representing two triangles per face and an
associated normal for each point will be returned.
Cone options object.
By default, a cone with its base at the origin and its tip along the x axis will be created.
sidesnumber— number of sides (10)radiusnumber— radius of cone basenormalsflat|curve—flatnormals will make light shading across a face cone constant.curvewill gradiate the shading. Usecurveto make a surface look more round with fewer number of sides. (flat)lineTypeParsableLine — line that can position and orient the cone. First point of line is cone base center, and second point is cone tip.lengthnumber— length of the cone along the x axis iflineisn't defined (1)rotationnumber— rotation of base - this is only noticable for small numbers of sides (0)transformTypeParsableTransform — transform to apply to all points of cubelinesboolean— iftruethen points representing the edes of the faces will be returned. Iffalse, then points representing two triangles per face and an associated normal for each point will be returned.