From 7dc727131682806c9bd97ba1099ee2291c21a7a6 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sun, 3 Jul 2011 13:32:05 -0400 Subject: COMMON: Remove unused vector2orientation function --- common/math.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'common') 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 -- cgit v1.2.3