Previous Up Next

12.15.1  Cones: cone

The cone command takes as arguments a point A, a direction vector v and a real number t.

cone returns and draws the cone with vertex A opening in the direction v with an aperture of 2t.
Input:

cone([0,1,0],[0,0,1],pi/3)

Output:


Previous Up Next