From 9b67f52d5602cf618c3cf11a2d11c63ed1676fce Mon Sep 17 00:00:00 2001 From: fredb Date: Sun, 1 Mar 2009 12:49:52 +0000 Subject: [PATCH] SGMatrix::preMultTranslate should return self ( as postMultTranslate do ) --- simgear/math/SGMatrix.hxx | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.5