Sutherland–Hodgman algorithm: Difference between revisions

Content deleted Content added
No edit summary
Line 26:
outputList.add(ComputeIntersection(last_point,current_point,clipEdge));
end if
outputList.add(pointcurrent_point);
else if (last_point inside clipEdge) then
outputList.add(ComputeIntersection(last_point,current_point,clipEdge));