by Hamed Sheidaian (1 Submission)
Category: Graphics
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(2 Votes)
This code clip a polygon with Sutherland-Hodgman Algorithm .
Inputs
Polygon (poly) array and Clipper edge array (ed) .
Code Returns
Array of Clipped polygon (Res) .