From e61203f1baf650a797c67428b14a13630ccf54a7 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 30 Jan 2006 08:03:45 +0000 Subject: [PATCH] Added missing typenames --- vcg/complex/trimesh/smooth.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/complex/trimesh/smooth.h b/vcg/complex/trimesh/smooth.h index ed910819..28d02244 100644 --- a/vcg/complex/trimesh/smooth.h +++ b/vcg/complex/trimesh/smooth.h @@ -23,6 +23,9 @@ /**************************************************************************** History $Log: not supported by cvs2svn $ +Revision 1.7 2006/01/24 13:23:22 pietroni +used template types instead of point3f and float inside function calls + Revision 1.6 2005/12/06 17:55:16 pietroni 1 bug corrected @@ -562,8 +565,8 @@ void NormalSmooth(MESH_TYPE &m, //vcg::face::Pos ep; vcg::face::VFIterator ep; - typedef MESH_TYPE::CoordType CoordType; - typedef MESH_TYPE::ScalarType ScalarType; + typedef typename MESH_TYPE::CoordType CoordType; + typedef typename MESH_TYPE::ScalarType ScalarType; typename MESH_TYPE::FaceIterator fi; for(fi=m.face.begin();fi!=m.face.end();++fi) {