From 31c63ef0b42ae9d6249281c70a0268ddb4eba10d Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 12 Feb 2014 13:37:23 +0100 Subject: fix compilation of Transform * UniformScaling --- test/geo_transformations.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/geo_transformations.cpp') diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index 35ae67ebe..ee3030b5d 100644 --- a/test/geo_transformations.cpp +++ b/test/geo_transformations.cpp @@ -279,6 +279,13 @@ template void transformations() t1 = Eigen::Scaling(s0,s0,s0) * t1; VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); + t0 = t3; + t0.scale(s0); + t1 = t3 * Eigen::Scaling(s0); + VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); + t0.prescale(s0); + t1 = Eigen::Scaling(s0) * t1; + VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); t0.setIdentity(); t0.prerotate(q1).prescale(v0).pretranslate(v0); -- cgit v1.2.3