Transform*Transform should return Transform

unit test compiles again
This commit is contained in:
Benoit Jacob
2008-12-19 15:55:35 +00:00
parent 5f6fbaa0e7
commit a3fad2e3c3
2 changed files with 4 additions and 4 deletions

View File

@@ -185,9 +185,9 @@ public:
{ return ei_transform_product_impl<OtherDerived,Dim,HDim>::run(*this,other.derived()); }
/** Contatenates two transformations */
inline const typename ProductReturnType<MatrixType,MatrixType>::Type
inline const Transform
operator * (const Transform& other) const
{ return m_matrix * other.matrix(); }
{ return Transform(m_matrix * other.matrix()); }
/** \sa MatrixBase::setIdentity() */
void setIdentity() { m_matrix.setIdentity(); }