sshirokov/csgtool — pull request #3 by sshirokov (2013-06-01 09:46:03+00:00)
Title: bsp_to_polygons(): Pass the first

This is a first pass a bsp_to_polygons() function that walks the BSP tree and collects the polygons that are described into a list.

This walks the tree back->front.

A test is included against an STL cube, which is the simplest case for lack of splits and simple tree structure.