SGMatrix<T>::preMultTranslate should return self ( as postMultTranslate do )

This commit is contained in:
fredb
2009-03-05 10:32:06 +01:00
committed by Tim Moore
parent d37907d35d
commit 9b67f52d56
+1
View File
@@ -193,6 +193,7 @@ public:
(*this)(i,2) += tmp*(*this)(3,2); (*this)(i,2) += tmp*(*this)(3,2);
(*this)(i,3) += tmp*(*this)(3,3); (*this)(i,3) += tmp*(*this)(3,3);
} }
return *this;
} }
template<typename S> template<typename S>
SGMatrix& postMultTranslate(const SGVec3<S>& t) SGMatrix& postMultTranslate(const SGVec3<S>& t)