Minor changes

This commit is contained in:
Paolo Cignoni 2005-04-01 13:04:55 +00:00
parent 825c3b9a0c
commit 16b0bd16c6
2 changed files with 10 additions and 14 deletions

View File

@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.7 2004/09/14 19:49:43 ganovelli
first compilation version
Revision 1.6 2004/07/15 00:13:39 cignoni
Better doxigen documentation
@ -151,9 +154,10 @@ void FaceBorderFromNone(MeshType &m)
typename UpdateMeshType::FaceIterator pf;
typename std::vector<PosType>::iterator p;
if( fn == 0 ) return;
if( m.fn == 0 )
return;
e.resize(fn*3); // Alloco il vettore ausiliario
e.resize(m.fn*3); // Alloco il vettore ausiliario
p = e.begin();
for(pf=m.face.begin();pf!=m.face.end();++pf) // Lo riempio con i dati delle facce
if( ! (*pf).IsDeleted() )
@ -193,7 +197,7 @@ void VertexBorderFromFace(MeshType &m)
typename MeshType::VertexIterator v;
typename MeshType::FaceIterator f;
for(v=vert.begin();v!=vert.end();++v)
for(v=m.vert.begin();v!=m.vert.end();++v)
(*v).ClearB();
for(f=m.face.begin();f!=m.face.end();++f)

View File

@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.4 2004/09/09 14:35:14 ponchio
Typename changes for linux
Revision 1.3 2004/08/31 15:18:54 pietroni
minor changes to comply gcc compiler (typename's )
@ -178,17 +181,6 @@ static void PerVertexNormalized(ComputeMeshType &m)
(*vi).N().Normalize();
}
void ComputeE()
{
FaceIterator f;
for(f = m.face.begin(); f!=m.face.end(); ++f)
(*f).ComputeE();
}
}; // end class
} // End namespace