From: fredb Date: Sun, 1 Mar 2009 12:49:52 +0000 (+0000) Subject: SGMatrix::preMultTranslate should return self ( as postMultTranslate do ) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9b67f52d5602cf618c3cf11a2d11c63ed1676fce;p=simgear.git SGMatrix::preMultTranslate should return self ( as postMultTranslate do ) --- diff --git a/simgear/math/SGMatrix.hxx b/simgear/math/SGMatrix.hxx index ad53dcd8..a7517a69 100644 --- a/simgear/math/SGMatrix.hxx +++ b/simgear/math/SGMatrix.hxx @@ -193,6 +193,7 @@ public: (*this)(i,2) += tmp*(*this)(3,2); (*this)(i,3) += tmp*(*this)(3,3); } + return *this; } template SGMatrix& postMultTranslate(const SGVec3& t)