Sutherland–Hodgman algorithm: Difference between revisions

Content deleted Content added
External links: added rosetta code
Remove unnecessary addition in algorithm
Line 22:
'''for''' (int i = 0; i < inputList.count; i += 1) '''do'''
Point current_point = inputList[i];
Point prev_point = inputList[(i + inputList.count − 1) % inputList.count];
Point Intersecting_point = ComputeIntersection(prev_point, current_point, clipEdge)