Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.157 kB
require "polygon";
define regpolygon extends polygon {
param number r, rot = 0;
point c;
constraints {
v[i] = r * cis(rot + i*360/N) + c;
}
}
Jump to Line
Something went wrong with that request. Please try again.