improve the polygon fill test for gl
optimizate to rebuild the egdes of the polygon cutter
fix compile error