diff options
author | epoch <epoch@hacking.allowed.org> | 2017-01-09 01:08:12 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2017-01-09 01:08:12 -0600 |
commit | d6e8fd3a5d3b6d07e26a00cbf610d5587e2840a4 (patch) | |
tree | 847db9464d84d8bf7eba496742ba27143e0ca0f2 /src/graphics.h | |
parent | 7716223ab6f9024300003097d680f498629175be (diff) | |
download | hackvr-d6e8fd3a5d3b6d07e26a00cbf610d5587e2840a4.tar.gz hackvr-d6e8fd3a5d3b6d07e26a00cbf610d5587e2840a4.zip |
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
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |