diff --git a/vcg/space/deprecated_point3.h b/vcg/space/deprecated_point3.h index a5e75494..3362a633 100644 --- a/vcg/space/deprecated_point3.h +++ b/vcg/space/deprecated_point3.h @@ -379,7 +379,12 @@ public: } // for compatibility with eigen port - inline Point3 & normalized() { return Normalize(); } + inline Point3 normalized() const + { + Point3 p = *this; + p.Normalize(); + return p; + } /** * Convert to polar coordinates from cartesian coordinates.