From d6e8fd3a5d3b6d07e26a00cbf610d5587e2840a4 Mon Sep 17 00:00:00 2001 From: epoch Date: Mon, 9 Jan 2017 01:08:12 -0600 Subject: made all versions get built by default and moved some functions from graphics.c into math.c so the headless does not need graphics.c --- src/graphics.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/graphics.h') diff --git a/src/graphics.h b/src/graphics.h index 99b9fc2..b351d2c 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -44,7 +44,10 @@ int selfcommand(char *s); cs_t c3_to_cs(c3_t p); real d2r(int d); real shitdist(struct c3_shape *s,c3_t p); - +c3_t rotate_c3_xr(c3_t p1,c3_t p2,real xr); +c3_t rotate_c3_yr(c3_t p1,c3_t p2,real yr); +c3_t rotate_c3_zr(c3_t p1,c3_t p2,real zr); +real points_to_angle(c2_t p1,c2_t p2); int compar(zsort_t *a,zsort_t *b); -- cgit v1.2.3