aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/geometry.cpp')
-rw-r--r--test/geometry.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/geometry.cpp b/test/geometry.cpp
index 9d5a07af8..f41d086de 100644
--- a/test/geometry.cpp
+++ b/test/geometry.cpp
@@ -116,6 +116,9 @@ template<typename Scalar> void geometry(void)
t1.translate(-v0);
VERIFY((t0.matrix() * t1.matrix()).isIdentity());
+
+ t1.fromPositionOrientationScale(v0, q1, v1);
+ VERIFY_IS_APPROX(t1.matrix(), t0.matrix());
}
void test_geometry()