14.15.2 Half-cones: half_cone
The half_cone command creates half cones.
-
half_cone takes three arguments:
-
A, a point.
- v, a direction vector.
- θ, a real number.
- half_cone(A,v,θ) returns and draws the half cone with
vertex A, opening in the direction v with an aperture of
2θ.
Example.
Input:
half_cone([0,1,0],[0,0,1],pi/3)
Output: