Changed a FV -> VF in VertexFace topology computation

This commit is contained in:
Paolo Cignoni 2004-05-10 15:23:43 +00:00
parent 72ebcd4b23
commit a05cc7fc6e
1 changed files with 5 additions and 2 deletions
vcg/complex/trimesh/update

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.5 2004/05/06 15:24:38 pietroni
changed names to topology functions
Revision 1.4 2004/03/31 14:44:43 cignoni Revision 1.4 2004/03/31 14:44:43 cignoni
Added Vertex-Face Topology Added Vertex-Face Topology
@ -198,8 +201,8 @@ static void VertexFace(MeshType &m)
{ {
for(int j=0;j<3;++j) for(int j=0;j<3;++j)
{ {
(*fi).FVp(j) = (*fi).V(j)->VFb(); (*fi).VFp(j) = (*fi).V(j)->VFb();
(*fi).FVi(j) = (*fi).V(j)->VFi(); (*fi).VFi(j) = (*fi).V(j)->VFi();
(*fi).V(j)->VFb() = &(*fi); (*fi).V(j)->VFb() = &(*fi);
(*fi).V(j)->VFi() = j; (*fi).V(j)->VFi() = j;
} }