drop geom.c prior to merge

pull/602/head
nick black 4 years ago
parent 9ce9d8f35b
commit 420ef740b1
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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);
}
}
Loading…
Cancel
Save