diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/spatial.c | 10 |
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), |