From 420ef740b15568b66184c44f3782d5ec63196f67 Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 12 May 2020 22:56:46 -0400 Subject: [PATCH] drop geom.c prior to merge --- src/lib/geom.c | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/lib/geom.c diff --git a/src/lib/geom.c b/src/lib/geom.c deleted file mode 100644 index bd2c1c8f6..000000000 --- a/src/lib/geom.c +++ /dev/null @@ -1,13 +0,0 @@ -#include "internal.h" - -// find the center coordinate of a plane, preferring the top/left in the -// case of an even number of rows/columns (in such a case, there will be one -// more cell to the bottom/right of the center than the top/left). -void ncplane_center(const ncplane* n, int* y, int* x){ - if(y){ - *y = ((n->leny - 1) / 2); - } - if(x){ - *x = ((n->lenx - 1) / 2); - } -}