Wrong variable type
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@875 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user