reverted tarini mod

This commit is contained in:
Federico Ponchio 2005-02-19 10:43:11 +00:00
parent 507dabb528
commit cce86d42f8
1 changed files with 6 additions and 1 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.15 2005/02/08 17:14:28 tarini
aggiunto un typecast a (FaceType*) per farlo compilare under Mingw comp
Revision 1.14 2004/10/14 15:08:04 pietroni Revision 1.14 2004/10/14 15:08:04 pietroni
added #include <vector> added #include <vector>
@ -325,7 +328,9 @@ static FaceIterator AddFaces(MeshType &m, int n, PointerUpdater<FacePointer> &pu
{ {
if(VertexType::HasVFAdjacency()) if(VertexType::HasVFAdjacency())
if ((*vi).VFp()!=0) if ((*vi).VFp()!=0)
pu.Update((FaceType*)(*vi).VFp()); pu.Update((*vi).VFp());
// was (for mingw) pu.Update((FaceType*)(*vi).VFp());
} }
// e poiche' lo spazio e' cambiato si ricalcola anche last da zero // e poiche' lo spazio e' cambiato si ricalcola anche last da zero
unsigned int siz=m.face.size()-n; unsigned int siz=m.face.size()-n;