[gegl/soc-2011-seamless-clone: 28/35] Update the calls according to commit 1ad729e of poly2tri-c
- From: Barak Itkin <barakitkin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/soc-2011-seamless-clone: 28/35] Update the calls according to commit 1ad729e of poly2tri-c
- Date: Fri, 20 Jul 2012 19:14:50 +0000 (UTC)
commit 636763a4f58f0f972e6aaef19a8a33cf8f03ccb2
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]