removed warnings

This commit is contained in:
Luigi Malomo 2017-04-04 15:53:39 +02:00
parent f2b92b6484
commit 0b7528ee7d
2 changed files with 3 additions and 3 deletions

View File

@ -413,7 +413,7 @@ public:
static ScalarType MeshAngleDistortion(const MeshType &m)
{
ScalarType UDdist=0;
for (int i=0;i<m.face.size();i++)
for (size_t i=0;i<m.face.size();i++)
{
if (m.face[i].IsD())continue;
const FaceType *f=&(m.face[i]);
@ -487,7 +487,7 @@ public:
ScalarType tot = 0;
ScalarType totA = 0;
for (int i=0;i<m.face.size();i++)
for (size_t i=0;i<m.face.size();i++)
{
if (m.face[i].IsD())continue;
ScalarType q;

View File

@ -69,7 +69,7 @@ void OptimizeUV_LSCM( MeshType& m ,
vcg::tri::MeshToMatrix< MeshType >::GetTriMeshData( m, F, V );
// build fixed points data
int nFixed = 0;
size_t nFixed = 0;
for (int i=0; i<(int)m.vert.size(); i++) {
if (m.vert[i].Flags()&fixedMask) nFixed++;
}