From 6a75af21884cd0523edec540b8e86b26aef2ae7a Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 10 May 2004 13:22:25 +0000 Subject: [PATCH] small syntax error Math -> math in Angle --- vcg/space/point2.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/space/point2.h b/vcg/space/point2.h index a87af3dd..a516941f 100644 --- a/vcg/space/point2.h +++ b/vcg/space/point2.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.4 2004/04/05 11:57:32 cignoni +Add V() access function + Revision 1.3 2004/03/10 17:42:40 tarini Added comments (Dox) ! Added Import(). Costruct(), ScalarType... Corrected cross prod (sign). Added Angle. Now using Math:: stuff for trigon. etc. @@ -229,8 +232,8 @@ public: } /// returns the angle with X axis (radiants, in [-PI, +PI] ) inline Point2 &Angle(){ - return Math::Atan2(_v[1],_v[0]); - }; + return math::Atan2(_v[1],_v[0]); + } /// transform the point in cartesian coords into polar coords inline Point2 & Cartesian2Polar() {