diff --git a/apps/sample/trimesh_pos_demo/trimesh_pos_demo.cpp b/apps/sample/trimesh_pos_demo/trimesh_pos_demo.cpp index 5a7dd8aa..bd383b88 100644 --- a/apps/sample/trimesh_pos_demo/trimesh_pos_demo.cpp +++ b/apps/sample/trimesh_pos_demo/trimesh_pos_demo.cpp @@ -8,6 +8,8 @@ #include #include +#include + #include class MyEdge; @@ -47,6 +49,7 @@ int main() { MyMesh m; vcg::tri::Tetrahedron(m); + vcg::tri::UpdateTopology::FaceFace(mesh); OneRingNeighborhood(&(*m.face.begin())); OneRingNeighborhoodJP(&(*m.face.begin())); return 0;