diff options
author | Matthew Hoops | 2011-07-03 13:32:05 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-07-03 13:32:05 -0400 |
commit | 7dc727131682806c9bd97ba1099ee2291c21a7a6 (patch) | |
tree | 79476ded374a329154b436693ec4deb710be918d /common | |
parent | f0cc1eb58b55f5ad9b14d5d5e0182d4b6eba7412 (diff) | |
download | scummvm-rg350-7dc727131682806c9bd97ba1099ee2291c21a7a6.tar.gz scummvm-rg350-7dc727131682806c9bd97ba1099ee2291c21a7a6.tar.bz2 scummvm-rg350-7dc727131682806c9bd97ba1099ee2291c21a7a6.zip |
COMMON: Remove unused vector2orientation function
Diffstat (limited to 'common')
-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 |