From 9ff9d36e4d5f23a51a410f33ff5103d277a4b371 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez <matthew.fernandez@gmail.com> Date: Fri, 4 Jun 2021 19:27:41 -0700 Subject: [PATCH] remove unused box_bb --- lib/common/geomprocs.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/common/geomprocs.h b/lib/common/geomprocs.h index dd6e000a0..01ad3fba3 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 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; -- 2.40.0