Sutherland-Hodgman polygon clipping: Difference between revisions
Sutherland-Hodgman polygon clipping (view source)
Revision as of 12:24, 28 October 2022
, 1 year ago→{{header|ATS}}
m (→{{header|ATS}}) |
m (→{{header|ATS}}) |
||
Line 528:
showpoly (clip_poly, ".5 0 0", "1 .7 .7");
showpoly (subject_poly, "0 .2 .5", ".4 .7 1");
fprintln! (outf, "2 setlinewidth
fprintln! (outf, "[10 8] 0 setdash");
showpoly (result_poly, ".5 0 .5", ".7 .3 .8");
fprintln! (outf, "%%EOF")
|