Index: trunk/scconfig/Rev.h =================================================================== --- trunk/scconfig/Rev.h (revision 25633) +++ trunk/scconfig/Rev.h (revision 25634) @@ -1 +1 @@ -static const int myrev = 25631; +static const int myrev = 25634; Index: trunk/scconfig/Rev.tab =================================================================== --- trunk/scconfig/Rev.tab (revision 25633) +++ trunk/scconfig/Rev.tab (revision 25634) @@ -1,4 +1,4 @@ -25631 configure infra for an stl export plugin +25634 configure infra for an stl export plugin 25603 configure infrastructure for extended objects 25463 configure new library window (DAD based) 25436 configure remove plugin lib_legacy_func Index: trunk/src_plugins/lib_polyhelp/Plug.tmpasm =================================================================== --- trunk/src_plugins/lib_polyhelp/Plug.tmpasm (revision 25633) +++ trunk/src_plugins/lib_polyhelp/Plug.tmpasm (revision 25634) @@ -2,6 +2,7 @@ put /local/pcb/mod/OBJS [@ $(PLUGDIR)/lib_polyhelp/polyhelp.o $(PLUGDIR)/lib_polyhelp/topoly.o + $(PLUGDIR)/lib_polyhelp/triangulate.o @] switch /local/pcb/lib_polyhelp/controls Index: trunk/src_plugins/lib_polyhelp/triangulate.c =================================================================== --- trunk/src_plugins/lib_polyhelp/triangulate.c (nonexistent) +++ trunk/src_plugins/lib_polyhelp/triangulate.c (revision 25634) @@ -0,0 +1,5 @@ +#include "config.h" + +#define FP2T_POLY2TRI_IMPLEMENTATION +#include "triangulate.h" + Index: trunk/src_plugins/lib_polyhelp/triangulate.h =================================================================== --- trunk/src_plugins/lib_polyhelp/triangulate.h (nonexistent) +++ trunk/src_plugins/lib_polyhelp/triangulate.h (revision 25634) @@ -0,0 +1,18 @@ +#ifndef PCB_POLYHELP_TRIANGULATE_H +#define PCB_POLYHELP_TRIANGULATE_H + +#include + +typedef uint8_t fp2t_u8_t; +typedef long fp2t_i32_t; +typedef int fp2t_b32_t; +typedef unsigned long fp2t_u32_t; +typedef size_t fp2t_uxx_t; +typedef int fp2t_bxx_t; +typedef size_t fp2t_imm_t; +typedef size_t fp2t_umm_t; + +#define FP2T_INTERNAL extern +#include "../src_3rd/fast89-poly2tri/fast89_poly2tri.h" + +#endif