]> git.mxchange.org Git - simgear.git/commitdiff
SGMatrix<T>::preMultTranslate should return self ( as postMultTranslate do )
authorfredb <fredb>
Sun, 1 Mar 2009 12:49:52 +0000 (12:49 +0000)
committerTim Moore <timoore@redhat.com>
Thu, 5 Mar 2009 09:32:06 +0000 (10:32 +0100)
simgear/math/SGMatrix.hxx

index ad53dcd8fe0fe5fbf1cf12a271db4c70b74106e3..a7517a698602b79348f124b51d1e5949c2a36cf5 100644 (file)
@@ -193,6 +193,7 @@ public:
       (*this)(i,2) += tmp*(*this)(3,2);
       (*this)(i,3) += tmp*(*this)(3,3);
     }
+    return *this;
   }
   template<typename S>
   SGMatrix& postMultTranslate(const SGVec3<S>& t)