From 50084659725252abd22b553e345515bd6b0d2d24 Mon Sep 17 00:00:00 2001 From: ponchio Date: Wed, 12 Oct 2005 16:43:32 +0000 Subject: [PATCH] Added IsOrtho... --- vcg/math/camera.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcg/math/camera.h b/vcg/math/camera.h index b60f0fff..5c85f1bf 100644 --- a/vcg/math/camera.h +++ b/vcg/math/camera.h @@ -23,6 +23,9 @@ /**************************************************************************** History $Log: not supported by cvs2svn $ +Revision 1.22 2005/07/11 13:12:34 cignoni +small gcc-related compiling issues (typenames,ending cr, initialization order) + Revision 1.21 2005/07/01 10:55:42 cignoni Removed default values from the implementation of SetCavalieri and SetIsometric @@ -175,6 +178,7 @@ public: }; + bool IsOrtho() { return ( cameraType == ORTHO ); } /// set the camera specifying the perspecive view inline void SetPerspective(S angle, S ratio, S nearend, S farend,vcg::Point2 viewport=vcg::Point2(500,-1) );