Commit 61ad320d authored by Jan Möbius's avatar Jan Möbius

Fixed old OM3 port warning in smoother

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1262 fdac6126-5c0c-442c-9429-916003d36597
parent 021b7a43
......@@ -260,11 +260,11 @@ set_relative_local_error(Scalar _err)
// compute bounding box
Point bb_min, bb_max;
bb_min = bb_max = mesh_.point(v_it);
bb_min = bb_max = mesh_.point(*v_it);
for (++v_it; v_it!=v_end; ++v_it)
{
bb_min.minimize(mesh_.point(v_it));
bb_max.maximize(mesh_.point(v_it));
bb_min.minimize(mesh_.point(*v_it));
bb_max.maximize(mesh_.point(*v_it));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment