updated to vcg version (HasEETopology to HasEEAdjacency)

This commit is contained in:
ganovelli 2011-04-21 16:24:46 +00:00
parent 099149e990
commit 3789370e24
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ inline bool operator != ( const PVertex & pe ) const
static void EdgeEdge(MeshType &m) static void EdgeEdge(MeshType &m)
{ {
if(!m.HasEETopology()) return; if(!HasEEAdjacency(m)) return;
vector<PVertex> v; vector<PVertex> v;
EdgeIterator pf; EdgeIterator pf;
@ -123,7 +123,7 @@ static void EdgeEdge(MeshType &m)
v.resize(m.en*2); // Alloco il vettore ausiliario v.resize(m.en*2); // Alloco il vettore ausiliario
p = v.begin(); p = v.begin();
for(pf=m.edges.begin();pf!=m.edges.end();++pf) // Lo riempio con i dati delle facce for(pf=m.edge.begin();pf!=m.edge.end();++pf) // Lo riempio con i dati delle facce
if( ! (*pf).IsD() ) if( ! (*pf).IsD() )
for(int j=0;j<2;++j) for(int j=0;j<2;++j)
{ {