From de75285ed073fe5b1e0383e0bc7fcf993b1f4b7a Mon Sep 17 00:00:00 2001 From: granzuglia Date: Thu, 22 Jan 2009 10:18:40 +0000 Subject: [PATCH] added const qualifier to transpose function --- vcg/math/deprecated_matrix33.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcg/math/deprecated_matrix33.h b/vcg/math/deprecated_matrix33.h index c67663e5..e606e234 100644 --- a/vcg/math/deprecated_matrix33.h +++ b/vcg/math/deprecated_matrix33.h @@ -397,12 +397,13 @@ public: } // for the transistion to eigen - Matrix33 transpose() + Matrix33 transpose() const { Matrix33 res = *this; res.Transpose(); return res; } + void transposeInPlace() { this->Transpose(); } /// Funzione per costruire una matrice diagonale dati i tre elem.