From: Matthew Fernandez Date: Thu, 8 Sep 2022 00:27:49 +0000 (-0700) Subject: dotgen leftOf: remove incorrect description of this function as 'ccw' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8ba63b291fc007d2f6ef526090478404025c197;p=graphviz dotgen leftOf: remove incorrect description of this function as 'ccw' --- diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index a805a6573..7aa07f328 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -1671,9 +1671,7 @@ make_flat_edge(graph_t* g, spline_info_t* sp, path * P, edge_t ** edges, int ind } } -/* ccw: - * Return true if p3 is to left of ray p1->p2 - */ +/// Return true if p3 is to left of ray p1->p2 static bool leftOf(pointf p1, pointf p2, pointf p3) { return (p1.y - p2.y) * (p3.x - p2.x) - (p3.y - p2.y) * (p1.x - p2.x) > 0; }