From 9ff18f557b8020b6a71bc8e314ad5d0db3ade7ae Mon Sep 17 00:00:00 2001 From: ganovelli Date: Tue, 20 Nov 2007 09:45:51 +0000 Subject: [PATCH] missing typename --- vcg/space/smallest_enclosing.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/space/smallest_enclosing.h b/vcg/space/smallest_enclosing.h index e23b4bb3..57444a83 100644 --- a/vcg/space/smallest_enclosing.h +++ b/vcg/space/smallest_enclosing.h @@ -25,6 +25,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.5 2007/11/07 09:37:20 ganovelli +added draft for sphereofsphres enclosing + Revision 1.4 2006/09/14 08:46:00 ganovelli added inclusion of sphere3 @@ -106,14 +109,14 @@ SphereOfSpheres( const SphereType & s0, const SphereType & s1) return SphereType(center,radius); } -template +template typename SphereContType::value_type SmallestEnclosing:: SphereOfSpheres( const SphereContType & spheres) { typename SphereContType::value_type::ScalarType radius; typename SphereContType::value_type res; - SphereContType::const_iterator si; + typename SphereContType::const_iterator si; for(si = spheres.begin(); si != spheres.end(); ++si){ res = SphereOfSpheres(res,*si);