From 51447980c54eab163773b80211a73dbfb3636e79 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Thu, 26 May 2022 12:31:32 -0700 Subject: move coord conversion to board code --- board.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'board.h') diff --git a/board.h b/board.h index 440143f..cc60e62 100644 --- a/board.h +++ b/board.h @@ -60,6 +60,9 @@ struct pcoords { void init_board(); +struct ccoords pol_to_cart(struct pcoords c); +struct pcoords cart_to_pol(struct ccoords c); + struct segment segment_from_pcoords(struct pcoords c); struct segment segment_from_name(const char *name); struct pcoords segment_centre(struct segment seg); -- cgit v1.2.3-70-g09d2