diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2010-01-28 10:32:44 +0100 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2010-01-28 10:32:44 +0100 |
commit | 33abe75afab26216a299977a3133f05441d997eb (patch) | |
tree | e7b06db403c7ab5fb492bc747bf011439b67500e /test/geo_quaternion.cpp | |
parent | 98a584ceb8dcaf32091c742c294c4c335b46aa1d (diff) |
Fixed Quaternion operator*= added regression test.
Diffstat (limited to 'test/geo_quaternion.cpp')
-rw-r--r-- | test/geo_quaternion.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp index 052c01fbf..311ffd2ec 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -59,6 +59,9 @@ template<typename Scalar> void quaternion(void) q1.coeffs().setRandom(); VERIFY_IS_APPROX(q1.coeffs(), (q1*q2).coeffs()); + // concatenation + q1 *= q2; + q1 = AngleAxisx(a, v0.normalized()); q2 = AngleAxisx(a, v1.normalized()); |