Bruno Allaire-Lemay
/
APP1test
df
Fork of APP1 by
Diff: Utility.hpp
- Revision:
- 6:3facf0329142
- Child:
- 9:12519f9dd3cd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Utility.hpp Sun Jan 15 02:04:23 2017 +0000 @@ -0,0 +1,15 @@ +#ifndef UTILITY_HPP +#define UTILITY_HPP + +namespace utility +{ + const double PI = 3.14159265; + + bool is_almost_equal(double a, double b, double tolerance); + + //Return angle between 0 and 360 degree + double wrap_angle(double angle); + double degree_from_radian(const double angle_radian); +}; + +#endif \ No newline at end of file