- updated the OpenMesh tutorials to be OM 3 compliant
- added all the tutorials except "Using IO::Options" as unittests git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@968 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -85,9 +85,9 @@ int main(int argc, char **argv)
|
||||
for (MyMesh::VertexIter v_it = mesh.vertices_begin();
|
||||
v_it != mesh.vertices_end(); ++v_it)
|
||||
{
|
||||
std::cout << "Vertex #" << v_it << ": " << mesh.point( v_it );
|
||||
mesh.set_point( v_it, mesh.point(v_it)+mesh.normal(v_it) );
|
||||
std::cout << " moved to " << mesh.point( v_it ) << std::endl;
|
||||
std::cout << "Vertex #" << *v_it << ": " << mesh.point( *v_it );
|
||||
mesh.set_point( *v_it, mesh.point(*v_it)+mesh.normal(*v_it) );
|
||||
std::cout << " moved to " << mesh.point( *v_it ) << std::endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user