Next change set for the new interface
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@902 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -275,7 +275,7 @@ int main(int argc, char *argv[] )
|
||||
timer.start();
|
||||
MyMesh::VertexIter vit = mesh.vertices_begin();
|
||||
for (; vit != mesh.vertices_end(); ++vit)
|
||||
mesh.set_normal( vit.handle(), -mesh.normal( vit.handle() ) );
|
||||
mesh.set_normal( *vit, -mesh.normal( *vit ) );
|
||||
timer.stop();
|
||||
std::cout << " " << mesh.n_vertices()
|
||||
<< " vertex normals in " << timer.as_string() << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user