From 0016d751f38459f85c4bcc6bdb8a95a853f1c2c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Fri, 16 Dec 2011 13:18:51 +0000 Subject: [PATCH] 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 --- src/OpenMesh/Core/Mesh/PolyMeshT.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenMesh/Core/Mesh/PolyMeshT.hh b/src/OpenMesh/Core/Mesh/PolyMeshT.hh index 113b405c..6c1a253c 100644 --- a/src/OpenMesh/Core/Mesh/PolyMeshT.hh +++ b/src/OpenMesh/Core/Mesh/PolyMeshT.hh @@ -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)));