]> granicus.if.org Git - graphviz/commitdiff
remove unused box_bb
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 02:27:41 +0000 (19:27 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Jun 2021 04:05:43 +0000 (21:05 -0700)
lib/common/geomprocs.h

index dd6e000a0a98baacaaf75abe294dcc140e7c4a63..01ad3fba392625bb83ff07fe082b22b992367f67 100644 (file)
@@ -151,18 +151,6 @@ static inline pointf exch_xyf(pointf p)
     return r;
 }
 
-static inline box box_bb(box b0, box b1)
-{
-    box 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 boxf boxf_bb(boxf b0, boxf b1)
 {
     boxf b;