sshirokov/csgtool — pull request #9 by sshirokov (2013-06-03 02:03:56+00:00)
Title: poly_invert()

Multiply `normal` and `w` by -1 and reverse the vertex order (done with a recursive LL walk) so that the orientation of the polygon is flipped. (front becomes back, back becomes front)

Test is added, under a new suite (SURPRISE EVERYBODY!)