Sutherland-HodgmanPolygon Clipping Algorithm (Cont.)
To clip vertex list against one half-plane:
if first vertex is inside - output it
loop through list testing inside/outside transition - output depends on transition:
Previous slide
Next slide
Back to first slide
View graphic version