Wrong variable type

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@875 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-07-24 11:26:46 +00:00
parent 44624b9885
commit 5c2285eabe

View File

@@ -320,7 +320,7 @@ calc_vertex_normal(VertexHandle _vh) const
calc_vertex_normal_fast(_vh,n); calc_vertex_normal_fast(_vh,n);
Scalar norm = n.length(); Scalar norm = n.length();
if (norm != 0.0) n *= (1.0/norm); if (norm != 0.0) n *= (Scalar(1.0)/norm);
return n; return n;
} }