From: Barak Itkin Date: Sat, 18 May 2013 07:37:29 +0000 (+0300) Subject: Add changes according to commit 26242d0aa7b8 in poly2tri (C++) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c55fabf3a3ea1c91589b321f9d3a0e0d1c227529;p=poly2tri-c Add changes according to commit 26242d0aa7b8 in poly2tri (C++) --- diff --git a/poly2tri-c/p2t/sweep/sweep_context.c b/poly2tri-c/p2t/sweep/sweep_context.c index a2738fd..18c278a 100644 --- a/poly2tri-c/p2t/sweep/sweep_context.c +++ b/poly2tri-c/p2t/sweep/sweep_context.c @@ -63,6 +63,15 @@ void p2t_sweepcontext_init (P2tSweepContext* THIS, P2tPointPtrArray polyline) { int i; + + THIS->front_ = NULL; + THIS->head_ = NULL; + THIS->tail_ = NULL; + + THIS->af_head_ = NULL; + THIS->af_middle_ = NULL; + THIS->af_tail_ = NULL; + THIS->edge_list = g_ptr_array_new (); THIS->triangles_ = g_ptr_array_new (); THIS->map_ = NULL;