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:
@@ -312,7 +312,7 @@ public:
|
|||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Scalar cos_a = (v0 | v1) / denom;
|
Scalar cos_a = dot(v0 , v1) / denom;
|
||||||
if (is_boundary(_in_heh))
|
if (is_boundary(_in_heh))
|
||||||
{//determine if the boundary sector is concave or convex
|
{//determine if the boundary sector is concave or convex
|
||||||
FaceHandle fh(face_handle(opposite_halfedge_handle(_in_heh)));
|
FaceHandle fh(face_handle(opposite_halfedge_handle(_in_heh)));
|
||||||
|
|||||||
Reference in New Issue
Block a user