Fixed usage of operator | instead of dot

Added unittest for that



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@581 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-05-03 16:32:11 +00:00
parent 75e4faab58
commit 0340ccf054
3 changed files with 118 additions and 1 deletions

View File

@@ -301,7 +301,7 @@ is_estimated_feature_edge(HalfedgeHandle _heh, const double _feature_angle) cons
Normal fn1 = Kernel::normal(fh1);
// dihedral angle above angle threshold
return ( (fn0|fn1) < cos(_feature_angle) );
return ( dot(fn0,fn1) < cos(_feature_angle) );
}