|
|
Duane Tackett <ddt### [at] junocom> wrote:
: Now that I have your attention (with the subject line) I have forgotten
: how to do something seemingly very basic: I nee to translate a line segment
: into x,y coordinates. What I need is a 5 sided regular polygon (pentagon in
: english) and I have forgotten the equation to convert this to x,y points.
#declare Point1=<1,0,0>;
#declare Point2=<cos(2*pi/5),sin(2*pi/5),0>;
#declare Point3=<cos(2*pi*2/5),sin(2*pi*2/5),0>;
#declare Point4=<cos(2*pi*3/5),sin(2*pi*3/5),0>;
#declare Point5=<cos(2*pi*4/5),sin(2*pi*4/5),0>;
--
- Warp. -
Post a reply to this message
|
|