corrected 1 compilation error SetVertCrossVectorFromFace

This commit is contained in:
Nico Pietroni 2013-01-22 09:58:20 +00:00
parent a90d2cf877
commit cb13855328
1 changed files with 3 additions and 1 deletions

View File

@ -82,6 +82,7 @@ namespace vcg {
}
}
assert(ret!=-1);
return ret;
}
@ -327,7 +328,8 @@ namespace vcg {
static void SetVertCrossVectorFromFace(VertexType &v)
{
std::vector<FaceType *> faceVec;
vcg::face::VFStarVF(&v,faceVec);
std::vector<int> index;
vcg::face::VFStarVF(&v,faceVec,index);
std::vector<CoordType> TangVect;
std::vector<CoordType> Norms;
for (unsigned int i=0;i<faceVec.size();i++)