Help please

Hi all!
I’m a beginner. Would someone show me how to create a cone (30 degree) and what I must do to make it sweeps 30 degree left/right/up/down.

Thank you

Glut has a command glutSolidCone and glutWireCone.

glut_____Cone( base, hight, slices, stacks)

You can adjust the base hight ratio to get the angle you want.

Slices and stacks are how many parts that cone is divided into, the more of each the rounder the cone looks

Originally posted by Dxxv:
[b]Hi all!
I’m a beginner. Would someone show me how to create a cone (30 degree) and what I must do to make it sweeps 30 degree left/right/up/down.

Thank you[/b]

draw it on a piece of paper and see if you can figure out the trig for it… you should get it ok.