summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-01-16 17:09:14 +0000
committerrodri <rgl@antares-labs.eu>2024-01-16 17:09:14 +0000
commitd6be49085c76bbea87b7d7c61455b93883669bf1 (patch)
treebff7cf7fbc66cd5da303122ebb50f87e8a7d44a7 /util.c
parent168a16b70a928ed64061bdac7fc9d52235c3f9fc (diff)
downloadballistics-d6be49085c76bbea87b7d7c61455b93883669bf1.tar.gz
ballistics-d6be49085c76bbea87b7d7c61455b93883669bf1.tar.bz2
ballistics-d6be49085c76bbea87b7d7c61455b93883669bf1.zip
rewrite it using libgeometry.
Diffstat (limited to 'util.c')
-rw-r--r--util.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/util.c b/util.c
deleted file mode 100644
index 7edcd40..0000000
--- a/util.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <u.h>
-#include <libc.h>
-#include "dat.h"
-#include "fns.h"
-
-double
-round(double n)
-{
- return floor(n + 0.5);
-}
-
-double
-hypot3(double x, double y, double z)
-{
- return hypot(x, hypot(y, z));
-}