From d98c4fe440f2abe3a6682e9e7f9a439fe2540a21 Mon Sep 17 00:00:00 2001 From: epoch Date: Thu, 9 Feb 2017 02:12:42 -0600 Subject: converted more things to use the radians and degrees structures, fixed up distance between camera stuff (try using p and l to change during runtime) and got rid of a couple things that were commented out anyway. --- src/math.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/math.h') diff --git a/src/math.h b/src/math.h index 1afe959..dac2409 100644 --- a/src/math.h +++ b/src/math.h @@ -8,11 +8,11 @@ #undef __USE_GNU real distance2(c2_t p1,c2_t p2); -c2_t rotate_c2(c2_t p1,c2_t p2,real dr); -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 d2r(int d); -real points_to_angle(c2_t p1,c2_t p2); +c2_t rotate_c2(c2_t p1,c2_t p2,radians dr); +c3_t rotate_c3_xr(c3_t p1,c3_t p2,radians xr); +c3_t rotate_c3_yr(c3_t p1,c3_t p2,radians yr); +c3_t rotate_c3_zr(c3_t p1,c3_t p2,radians zr); +radians d2r(degrees d); +radians points_to_angle(c2_t p1,c2_t p2); #endif -- cgit v1.2.3