Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 131 Bytes
require "point";
define line {
point start, end, center;
constraints { center = (start + end)/2; }
draw { &draw_line; }
}