summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-05 20:31:43 -0500
committerXANTRONIX Development2022-03-05 20:31:43 -0500
commit2b14e640c78ae0136d66653cc7ed3233464b44d4 (patch)
tree402e28a75f6834404c0aa7a5d969b59defb74a16
parent037b802329de5961efbf3eb988fc2e396afcbe85 (diff)
downloadxas-2b14e640c78ae0136d66653cc7ed3233464b44d4.tar.gz
xas-2b14e640c78ae0136d66653cc7ed3233464b44d4.tar.bz2
xas-2b14e640c78ae0136d66653cc7ed3233464b44d4.zip
Remove unnecessary function
-rw-r--r--src/spatial.c10
1 files changed, 0 insertions, 10 deletions
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),