x
• Status: Solved
• Priority: Medium
• Security: Public
• Views: 959

# drawing polygon with 9 vertices and 6 vertices

how can I draw a polygon with radius 10 and 9 vertices?
same thing for 6 vertices?

also what is the name of such polygons?
0
slok
• 2
1 Solution

Commented:
Hmm doesn't this look like a school question ?

You can use a triangle fan with a center point and 8 vertices around it.

The angle between points are 2PI/8

/Joachim
0

Author Commented:
yes, this is related to school question.

my main probelm is at the angle. I have not touch maths for
like 12 years. the use of PI reminds me of radians (spelling?)
and degrees. I went back to library to read up on the diff.
between them. It helps.

Thanks
0

Commented:
You are right. D3D normally uses radians instead of the normal 360 degree system, so that's why I used it.

/Joachim
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.