added math:: namespace before min and max

This commit is contained in:
ganovelli 2005-08-08 10:28:13 +00:00
parent 47af92e51f
commit 831d12d4f6
1 changed files with 6 additions and 3 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.6 2004/08/25 15:15:26 ganovelli
minor changes to comply gcc compiler (typename's and stuff)
Revision 1.5 2004/07/15 00:13:39 cignoni Revision 1.5 2004/07/15 00:13:39 cignoni
Better doxigen documentation Better doxigen documentation
@ -242,8 +245,8 @@ static void VertexQuality(UpdateMeshType &m)
for(vi=m.vert.begin();vi!=m.vert.end();++vi) for(vi=m.vert.begin();vi!=m.vert.end();++vi)
if(!(*vi).IsD()) if(!(*vi).IsD())
{ {
minq=min(minq,(*vi).Q()); minq=vcg::math::Min(minq,(*vi).Q());
maxq=max(maxq,(*vi).Q()); maxq=vcg::math::Max(maxq,(*vi).Q());
} }
VertexQuality(m,minq,maxq); VertexQuality(m,minq,maxq);
} }