Trigonal pyramid
mainprogram@cone1.f
subroutine cone1k1 (rd,h,r,g,b,x,y,z)
Description: This program draws the trigonal pyramid by giving the color value and the radius of the basal plane, the height.
Input variable:
rd : The radius of the basal plane
h : The height
r : The red value [0,1]
g : The green value [0,1]
b : The blue value [0,1]
x : Parallel translation quantity of the x direction
y : Parallel translation quantity of the y direction
z : Parallel translation quantity of the z direction
Drawing example: cone1.wrl