[gegl/soc-2011-seamless-clone: 28/37] Update the calls according to commit 1ad729e of poly2tri-c



commit 16aa8ddca1b4976b932263f07becfbfbcb3b4037
Author: Barak Itkin <lightningismyname gmail com>
Date:   Sat Jun 23 16:15:14 2012 +0300

    Update the calls according to commit 1ad729e of poly2tri-c

 operations/common/seamless-clone/make-mesh.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/operations/common/seamless-clone/make-mesh.c b/operations/common/seamless-clone/make-mesh.c
index 15f606f..55e7bbe 100644
--- a/operations/common/seamless-clone/make-mesh.c
+++ b/operations/common/seamless-clone/make-mesh.c
@@ -242,7 +242,7 @@ sc_make_fine_mesh (ScOutline     *outline,
   P2tCDT *rough_cdt;
   P2trCDT *fine_cdt;
   P2trMesh *result;
-  P2trDelaunayTerminator *refiner;
+  P2trRefiner *refiner;
 
   for (i = 0; i < N; i++)
     {
@@ -269,9 +269,9 @@ sc_make_fine_mesh (ScOutline     *outline,
   /* We no longer need the rough CDT */
   p2t_cdt_free (rough_cdt);
 
-  refiner = p2tr_dt_new (G_PI / 6, p2tr_dt_false_too_big, fine_cdt);
-  p2tr_dt_refine (refiner, max_refine_steps);
-  p2tr_dt_free (refiner);
+  refiner = p2tr_refiner_new (G_PI / 6, p2tr_refiner_false_too_big, fine_cdt);
+  p2tr_refiner_refine (refiner, max_refine_steps, NULL);
+  p2tr_refiner_free (refiner);
 
   p2tr_mesh_ref (result = fine_cdt->mesh);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]