From: Matthew Fernandez Date: Sat, 5 Jun 2021 02:28:04 +0000 (-0700) Subject: remove unused boxf_bb X-Git-Tag: 2.47.3~6^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bed911d4b916e94143e24e88362e7f2543929010;p=graphviz remove unused boxf_bb --- diff --git a/lib/common/geomprocs.h b/lib/common/geomprocs.h index 01ad3fba3..3457b1e8a 100644 --- a/lib/common/geomprocs.h +++ b/lib/common/geomprocs.h @@ -151,18 +151,6 @@ static inline pointf exch_xyf(pointf p) return r; } -static inline boxf boxf_bb(boxf b0, boxf b1) -{ - boxf b; - - b.LL.x = MIN(b0.LL.x, b1.LL.x); - b.LL.y = MIN(b0.LL.y, b1.LL.y); - b.UR.x = MAX(b0.UR.x, b1.UR.x); - b.UR.y = MAX(b0.UR.y, b1.UR.y); - - return b; -} - static inline box box_intersect(box b0, box b1) { box b;