From 3c64d38fd1df4a27fa54d3ec0645ee2802eb4c43 Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Thu, 7 Oct 2004 14:41:31 +0000 Subject: [PATCH] Little fix on ViewPoint() method --- vcg/math/shot.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/math/shot.h b/vcg/math/shot.h index b7613cfc..66d47e6a 100644 --- a/vcg/math/shot.h +++ b/vcg/math/shot.h @@ -23,6 +23,9 @@ /**************************************************************************** History $Log: not supported by cvs2svn $ +Revision 1.3 2004/10/07 14:24:53 ganovelli +added LookAt,LookToward + Revision 1.2 2004/10/05 19:04:25 ganovelli version 5-10-2004 in progress @@ -75,7 +78,7 @@ public: vcg::Point3 Axis(const int & i)const; /// take the viewpoint - vcg::Point3 const &ViewPoint(); + const vcg::Point3 ViewPoint(); /// set the viewpoint void SetViewPoint(const vcg::Point3 & viewpoint); @@ -98,7 +101,7 @@ public: }; // end class definition template -vcg::Point3const & Shot::ViewPoint(){ +const vcg::Point3 Shot::ViewPoint(){ //Matrix44 m = similarity.Matrix(); //return Point3(m[0][3],m[1][3],m[2][3]); return -similarity.tra;