Sutherland-Hodgman polygon clipping: Difference between revisions

Content added Content deleted
Line 4,295: Line 4,295:
(newline)
(newline)
</syntaxhighlight>
</syntaxhighlight>

{{out}}
<pre>#((100 350/3) (125 100) (275 100) (300 350/3) (300 300) (250 300) (200 250) (175 300) (125 300) (100 250))
Wrote sutherland-hodgman.eps</pre>
[[File:Sutherland-hodgman-from-scheme.png|alt=The polygons of the task]]


=={{header|TypeScript}}==
=={{header|TypeScript}}==