diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/utils.c b/src/utils.c index c22bce71..de02ee6e 100644 --- a/src/utils.c +++ b/src/utils.c @@ -16,16 +16,6 @@ #include "utils.h" -/* Angle between two vectors. Answer in radians */ -double angle_between(double x1, double y1, double z1, - double x2, double y2, double z2) -{ - double mod1 = modulus(x1, y1, z1); - double mod2 = modulus(x2, y2, z2); - return acos( (x1*x2 + y1*y2 + z1*z2) / (mod1*mod2) ); -} - - size_t skipspace(const char *s) { size_t i; |