From 2b14e640c78ae0136d66653cc7ed3233464b44d4 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sat, 5 Mar 2022 20:31:43 -0500 Subject: Remove unnecessary function --- src/spatial.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src') diff --git a/src/spatial.c b/src/spatial.c index 7688f07..06c9a22 100644 --- a/src/spatial.c +++ b/src/spatial.c @@ -34,16 +34,6 @@ static float magnf(xas_spatial_coord point) { + point.z * point.z); } -static inline float degf(float rad) { - float ret = (rad / M_PI) * 180.0f; - - while (ret >= 360.0f) { - ret -= 360.0f; - } - - return ret; -} - static void rotate(xas_spatial_coord rotation, xas_spatial_coord *point) { double cosY = cos(rotation.y), -- cgit v1.2.3