diff options
author | Tal Hadad <tal_hd@hotmail.com> | 2016-10-14 16:03:28 +0300 |
---|---|---|
committer | Tal Hadad <tal_hd@hotmail.com> | 2016-10-14 16:03:28 +0300 |
commit | 078a20262145fdce8faed37dde05ec7ccc78210e (patch) | |
tree | 817f0fec806a4de64a54502d789c0b5aee9c2d07 /unsupported/doc/examples | |
parent | f3a00dd2b5faf6037b72dee50213e4d4538dd77a (diff) | |
parent | 014d9f1d9b60206deaeb7ac5349816cb556fb35b (diff) |
Merge Hongkai Dai correct range calculation, and remove ranges from API.
Docs updated.
Diffstat (limited to 'unsupported/doc/examples')
-rw-r--r-- | unsupported/doc/examples/EulerAngles.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/doc/examples/EulerAngles.cpp b/unsupported/doc/examples/EulerAngles.cpp index 1ef6aee18..3f8ca8c17 100644 --- a/unsupported/doc/examples/EulerAngles.cpp +++ b/unsupported/doc/examples/EulerAngles.cpp @@ -23,7 +23,7 @@ int main() // Some Euler angles representation that our plane use. EulerAnglesZYZd planeAngles(0.78474, 0.5271, -0.513794); - MyArmyAngles planeAnglesInMyArmyAngles = MyArmyAngles::FromRotation<true, false, false>(planeAngles); + MyArmyAngles planeAnglesInMyArmyAngles(planeAngles); std::cout << "vehicle angles(MyArmy): " << vehicleAngles << std::endl; std::cout << "plane angles(ZYZ): " << planeAngles << std::endl; @@ -37,7 +37,7 @@ int main() Quaterniond planeRotated = AngleAxisd(-0.342, Vector3d::UnitY()) * planeAngles; planeAngles = planeRotated; - planeAnglesInMyArmyAngles = MyArmyAngles::FromRotation<true, false, false>(planeRotated); + planeAnglesInMyArmyAngles = planeRotated; std::cout << "new plane angles(ZYZ): " << planeAngles << std::endl; std::cout << "new plane angles(MyArmy): " << planeAnglesInMyArmyAngles << std::endl; |