Replaced (v0|v1) by dot(v0,v1) in calc_sector_angle as

it fails to build otherwise (Thanks to Zhang Juyong for the fix)



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@480 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2011-12-16 13:18:51 +00:00
parent 2286cb677f
commit 0016d751f3

View File

@@ -312,7 +312,7 @@ public:
{
return 0;
}
Scalar cos_a = (v0 | v1) / denom;
Scalar cos_a = dot(v0 , v1) / denom;
if (is_boundary(_in_heh))
{//determine if the boundary sector is concave or convex
FaceHandle fh(face_handle(opposite_halfedge_handle(_in_heh)));