Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

drawing polygon with 9 vertices and 6 vertices

Posted on 2002-04-13
3
Medium Priority
?
957 Views
Last Modified: 2013-12-26
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
Comment
Question by:slok
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
joachimc earned 300 total points
ID: 6941208
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
 
LVL 3

Author Comment

by:slok
ID: 6941312
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
 
LVL 4

Expert Comment

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

/Joachim
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question