Commit 5c2285ea authored by Jan Möbius's avatar Jan Möbius

Wrong variable type

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@875 fdac6126-5c0c-442c-9429-916003d36597
parent 44624b98
......@@ -320,7 +320,7 @@ calc_vertex_normal(VertexHandle _vh) const
calc_vertex_normal_fast(_vh,n);
Scalar norm = n.length();
if (norm != 0.0) n *= (1.0/norm);
if (norm != 0.0) n *= (Scalar(1.0)/norm);
return n;
}
......
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