Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 157 Bytes
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.