diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-28 11:00:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-28 11:08:56 +0200 |
commit | 7337f89f4d69cc0e5fe3a72f9f6773ecf9b24cc5 (patch) | |
tree | d24194237167fa7a1e5303b78c8bc2b2017475b7 /compat/euler.cpp | |
parent | 783739a2f3599e00869f907ed1747491b35486b1 (diff) |
start renaming internal macros as OPENTRACK_* to OTR_*
Diffstat (limited to 'compat/euler.cpp')
-rw-r--r-- | compat/euler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/euler.cpp b/compat/euler.cpp index a1034bc9..ab119d3e 100644 --- a/compat/euler.cpp +++ b/compat/euler.cpp @@ -3,7 +3,7 @@ namespace euler { -euler_t OPENTRACK_COMPAT_EXPORT rmat_to_euler(const rmat& R) +euler_t OTR_COMPAT_EXPORT rmat_to_euler(const rmat& R) { using std::atan2; using std::sqrt; @@ -21,7 +21,7 @@ euler_t OPENTRACK_COMPAT_EXPORT rmat_to_euler(const rmat& R) } // tait-bryan angles, not euler -rmat OPENTRACK_COMPAT_EXPORT euler_to_rmat(const euler_t& input) +rmat OTR_COMPAT_EXPORT euler_to_rmat(const euler_t& input) { const double H = -input(0); const double P = -input(1); @@ -54,7 +54,7 @@ rmat OPENTRACK_COMPAT_EXPORT euler_to_rmat(const euler_t& input) } // https://en.wikipedia.org/wiki/Davenport_chained_rotations#Tait.E2.80.93Bryan_chained_rotations -void OPENTRACK_COMPAT_EXPORT tait_bryan_to_matrices(const euler_t& input, +void OTR_COMPAT_EXPORT tait_bryan_to_matrices(const euler_t& input, rmat& r_roll, rmat& r_pitch, rmat& r_yaw) |