Quantcast
Channel: Algorithm for constructing the corners of a regular, n-sided polygon - Game Development Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Elva for Algorithm for constructing the corners of a regular,...

To build the list of the vertices of a regular, n-sided polygon inscribed into a given circle, pointy on the right sided. Where (xOffset,yOffset) is the center of the circle.With i going from 0 to n-1...

View Article



Algorithm for constructing the corners of a regular, n-sided polygon

I've googled this using a lot of keyword combinations, but to my great surprise I could not find an algorithm for constructing a regular, n-sided polygon into a given circle, i.e., finding the...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images