You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tools.h 542B

123456789101112131415161718192021
  1. #ifndef TOOLS_H
  2. #define TOOLS_H
  3. #include "utils/matrixmxn.h"
  4. class Tools
  5. {
  6. public:
  7. static double normalizeAngle(double angle);
  8. uge_gm_tmpl_mn static MatrixMxN<M, N> normalizeAngle(const MatrixMxN<M, N>& rotation);
  9. static double radToDegree(double angle);
  10. uge_gm_tmpl_mn static MatrixMxN<M, N> radToDegree(const MatrixMxN<M, N>& rotation);
  11. static double degreeToRad(double angle);
  12. uge_gm_tmpl_mn static MatrixMxN<M, N> degreeToRad(const MatrixMxN<M, N>& rotation);
  13. };
  14. #include "utils/tools.hxx"
  15. #endif // TOOLS_H