Sutherland–Hodgman algorithm: Difference between revisions

Content deleted Content added
Line 14:
Given a list of edges in a clip polygon, and a list of vertices in a subject polygon, the following procedure clips the subject polygon against the clip polygon.
 
List /* The heck does "List" mean causing indentation here? Another loop? */
List
Point S = inputList.last;
for (Point E in inputList) do