added UpdateFFAdjacency

This commit is contained in:
granzuglia 2008-05-06 15:56:29 +00:00
parent 6f7899846d
commit 655207e1dd
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,8 @@
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
#include<vcg/complex/trimesh/create/platonic.h> #include<vcg/complex/trimesh/create/platonic.h>
#include<vcg/complex/trimesh/update/topology.h>
#include <vcg/simplex/face/pos.h> #include <vcg/simplex/face/pos.h>
class MyEdge; class MyEdge;
@ -47,6 +49,7 @@ int main()
{ {
MyMesh m; MyMesh m;
vcg::tri::Tetrahedron(m); vcg::tri::Tetrahedron(m);
vcg::tri::UpdateTopology<MyVCGMesh>::FaceFace(mesh);
OneRingNeighborhood(&(*m.face.begin())); OneRingNeighborhood(&(*m.face.begin()));
OneRingNeighborhoodJP(&(*m.face.begin())); OneRingNeighborhoodJP(&(*m.face.begin()));
return 0; return 0;