[gegl] prefix function point_lerp and point_dist with gegl_path_
- From: Michael Murà <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] prefix function point_lerp and point_dist with gegl_path_
- Date: Wed, 21 Sep 2011 18:08:39 +0000 (UTC)
commit d9be96be02a791b20c9d7475809d5e461045901e
Author: Michael Murà <batolettre gmail com>
Date: Mon Aug 1 20:20:04 2011 +0200
prefix function point_lerp and point_dist with gegl_path_
operations/workshop/warp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/workshop/warp.c b/operations/workshop/warp.c
index c662789..1537f76 100644
--- a/operations/workshop/warp.c
+++ b/operations/workshop/warp.c
@@ -325,7 +325,7 @@ process (GeglOperation *operation,
{
event = event->next;
next = *(event->d.point);
- dist = point_dist (&next, &prev);
+ dist = gegl_path_point_dist (&next, &prev);
stamps = dist / spacing;
if (stamps < 1)
@@ -337,7 +337,7 @@ process (GeglOperation *operation,
{
for (i = 0; i < stamps; i++)
{
- point_lerp (&lerp, &prev, &next, (i * spacing) / dist);
+ gegl_path_point_lerp (&lerp, &prev, &next, (i * spacing) / dist);
stamp (o, result, lerp.x, lerp.y);
}
prev = lerp;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]