fix a couple of compilation issue due to the removal of MultiplierBase

This commit is contained in:
Gael Guennebaud
2009-08-04 13:16:40 +02:00
parent 2089a263f8
commit f3a6bc48c4
4 changed files with 20 additions and 19 deletions

View File

@@ -93,7 +93,7 @@ public:
/** Concatenates a translation and a linear transformation */
template<typename OtherDerived>
inline AffineTransformType operator* (const MultiplierBase<OtherDerived>& linear) const;
inline AffineTransformType operator* (const AnyMatrixBase<OtherDerived>& linear) const;
/** Concatenates a translation and a rotation */
template<typename Derived>
@@ -103,7 +103,7 @@ public:
/** \returns the concatenation of a linear transformation \a l with the translation \a t */
// its a nightmare to define a templated friend function outside its declaration
template<typename OtherDerived> friend
inline AffineTransformType operator*(const MultiplierBase<OtherDerived>& linear, const Translation& t)
inline AffineTransformType operator*(const AnyMatrixBase<OtherDerived>& linear, const Translation& t)
{
AffineTransformType res;
res.matrix().setZero();
@@ -182,7 +182,7 @@ Translation<Scalar,Dim>::operator* (const UniformScaling<Scalar>& other) const
template<typename Scalar, int Dim>
template<typename OtherDerived>
inline typename Translation<Scalar,Dim>::AffineTransformType
Translation<Scalar,Dim>::operator* (const MultiplierBase<OtherDerived>& linear) const
Translation<Scalar,Dim>::operator* (const AnyMatrixBase<OtherDerived>& linear) const
{
AffineTransformType res;
res.matrix().setZero();