diff --git a/vcg/math/matrix33.h b/vcg/math/matrix33.h index f3ffeeb8..ab3caf56 100644 --- a/vcg/math/matrix33.h +++ b/vcg/math/matrix33.h @@ -82,6 +82,12 @@ public: (*this)[i][j]=m(i,j); } + static inline const Matrix33 &Identity( ) + { + static Matrix33 tmp; tmp.SetIdentity(); + return tmp; + } + /// Number of columns inline unsigned int ColumnsNumber() const {