added CopyVertUVWedge function

This commit is contained in:
Nico Pietroni 2015-06-21 01:51:28 +00:00
parent 00d485469f
commit 5e4380ffbd
1 changed files with 8 additions and 0 deletions

View File

@ -146,6 +146,14 @@ namespace vcg {
}
}
}
static void CopyVertUVWedge(MeshType &m)
{
for (size_t i=0;i<m.face.size();i++)
for (size_t j=0;j<3;j++)
m.face[i].WT(j).P()=m.face[i].V(j)->T().P();
}
};
} //End Namespace Tri
} // End Namespace vcg