]> granicus.if.org Git - graphviz/commitdiff
remove unused collide macro
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 26 Aug 2020 00:20:51 +0000 (17:20 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 1 Sep 2020 00:11:57 +0000 (17:11 -0700)
lib/neatogen/overlap.c

index fd387033606238ff417669327529b7462bda0322..7e7b48fc42b88d9224498d91fe805a06e2c579a4 100644 (file)
@@ -75,8 +75,6 @@ static void ideal_distance_avoid_overlap(int dim, SparseMatrix A, real *x, real
   return;
 }
 
-#define collide(i,j) ((ABS(x[(i)*dim] - x[(j)*dim]) < width[(i)*dim]+width[(j)*dim]) || (ABS(x[(i)*dim+1] - x[(j)*dim+1]) < width[(i)*dim+1]+width[(j)*dim+1]))
-
 enum {INTV_OPEN, INTV_CLOSE};
 
 struct scan_point_struct{