Skip to content

Commit

Permalink
COMMON: Remove broken vector2orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Mar 20, 2014
1 parent 70a86fa commit 2d1b633
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/common/maths.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,6 @@ static inline float deg2rad(float deg) {
return deg * M_PI / 180.0;
}

static inline void vector2orientation(float vX, float vY, float &x, float &y, float &z) {
x = 0.0;
y = rad2deg(atan2(vY, vX)) - 90.0;
z = 0.0;
}

} // End of namespace Common

#endif // COMMON_MATHS_H

0 comments on commit 2d1b633

Please sign in to comment.