polys_to_tris(dst, src)

Copy a polygon list to a triangle list.
Export tests
Use the default writer from BSP, now that it can make triangles