Keeps the part of polygon p on the side of the line through (px, pz) that (nx, nz) points away from (Sutherland–Hodgman). tags (one per edge) follow their edges; edges created along the cut line get cutTag.
p
(px, pz)
(nx, nz)
tags
cutTag
Keeps the part of polygon
pon the side of the line through(px, pz)that(nx, nz)points away from (Sutherland–Hodgman).tags(one per edge) follow their edges; edges created along the cut line getcutTag.