Skip to content

Commit 53c745f

Browse files
committed
deprecate
1 parent 0e0f8e3 commit 53c745f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/common/Math.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,16 @@ namespace Math {
9090

9191
#include "math/Vector.h"
9292

93+
template<typename A>
94+
DEPRECATED A DEG2RAD( const A a )
95+
{
96+
return Math::DegToRad( a );
97+
}
98+
99+
template<typename A>
100+
DEPRECATED A RAD2DEG( const A a )
101+
{
102+
return Math::RadToDeg ( a );
103+
}
104+
93105
#endif //COMMON_MATH_H_

0 commit comments

Comments
 (0)