For (MyMesh: : FaceIter f_it=mesh. Faces_begin (); F_it!=mesh. Faces_end (); + + f_it) {
GlBegin (GL_TRIANGLES);
For (MyMesh: : FaceVertexIter fv_it=mesh. Fv_iter f_it (*); Fv_it. Is_valid (); + + fv_it) {
Fv_it glNormal3fv (mesh. Normal (*). The data ());
Fv_it glVertex3fv (mesh point (*). The data ());
//glVertex3f (mesh point (* fv_it) [0], mesh. The point (* fv_it) [1], the mesh. The point (* fv_it) [2]).
}
GlEnd ();
}
Compile VS2013 openmesh file appear the following error: is_valid () is not openmesh: : Iterators: : FaceVertexIterT
CodePudding user response:
This seems to be something in the repository, not configured correctly