From: erg Date: Wed, 18 Jun 2008 19:28:39 +0000 (+0000) Subject: Add addPt to geom.h interface; fix conflicting names in neatogen X-Git-Tag: LAST_LIBGRAPH~32^2~3948 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=926b922126772b64b13faf88b035a53f379b24b9;p=graphviz Add addPt to geom.h interface; fix conflicting names in neatogen --- diff --git a/lib/neatogen/geometry.c b/lib/neatogen/geometry.c index 19ce6c14c..585e1fadc 100644 --- a/lib/neatogen/geometry.c +++ b/lib/neatogen/geometry.c @@ -51,7 +51,7 @@ void subpt(Point * a, Point b, Point c) a->y = b.y - c.y; } -void addPt(Point * c, Point a, Point b) +void addpt(Point * c, Point a, Point b) { c->x = a.x + b.x; c->y = a.y + b.y; diff --git a/lib/neatogen/geometry.h b/lib/neatogen/geometry.h index 345ed017c..02df9fd75 100644 --- a/lib/neatogen/geometry.h +++ b/lib/neatogen/geometry.h @@ -42,7 +42,7 @@ extern "C" { extern void geominit(void); extern double dist_2(Point *, Point *); /* Distance squared between two points */ extern void subpt(Point * a, Point b, Point c); - extern void addPt(Point * a, Point b, Point c); + extern void addpt(Point * a, Point b, Point c); extern double area_2(Point a, Point b, Point c); extern int leftOf(Point a, Point b, Point c); extern int intersection(Point a, Point b, Point c, Point d, Point * p);