added math:: namespace before min and max
This commit is contained in:
parent
47af92e51f
commit
831d12d4f6
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue