added CopyWedgeVertUV
This commit is contained in:
parent
3323ae51af
commit
cb9e276b1b
|
|
@ -154,6 +154,15 @@ namespace vcg {
|
||||||
m.face[i].WT(j).P()=m.face[i].V(j)->T().P();
|
m.face[i].WT(j).P()=m.face[i].V(j)->T().P();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void CopyWedgeVertUV(MeshType &m,bool onlyS=false)
|
||||||
|
{
|
||||||
|
for (size_t i=0;i<m.face.size();i++)
|
||||||
|
{
|
||||||
|
if ((onlyS)&&(!m.face[i].IsS()))continue;
|
||||||
|
for (int j=0;j<3;j++)
|
||||||
|
m.face[i].V(j)->T().P()=m.face[i].WT(j).P();
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
} //End Namespace Tri
|
} //End Namespace Tri
|
||||||
} // End Namespace vcg
|
} // End Namespace vcg
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue