Content deleted Content added
Line 23:
Point current_point = inputList[i];
Point prev_point = inputList[((i % inputList.count) + inputList.count) % inputList.count];
Point Intersecting_point = ComputeIntersection(prev_point,current_point,clipEdge)
if (current_point inside clipEdge) then
if (prev_point not inside clipEdge) then
outputList.add(
end if
outputList.add(current_point);
else if (prev_point inside clipEdge) then
outputList.add(
end if
|