diff options
-rw-r--r-- | common/math.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/common/math.h b/common/math.h index 44ba640dfb..db803d9889 100644 --- a/common/math.h +++ b/common/math.h @@ -106,15 +106,6 @@ inline float deg2rad(float deg) { return deg * M_PI / 180.0; } -inline void vector2orientation(float vX, float vY, float &x, float &y, float &z) { - x = 0.0; - y = rad2deg(acos(vY)); - z = 0.0; - - if (vX < 0) - y = 360.0 - y; -} - } // End of namespace Common #endif // COMMON_MATHS_H |