From b85c224c9672f510797bea6577dbfeede656313a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 24 Jul 2012 09:24:28 +0000 Subject: [PATCH] gcc-4.7 compatibility git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@629 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/Mesh/PolyMeshT.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OpenMesh/Core/Mesh/PolyMeshT.hh b/src/OpenMesh/Core/Mesh/PolyMeshT.hh index 69e381e8..8a40c79e 100644 --- a/src/OpenMesh/Core/Mesh/PolyMeshT.hh +++ b/src/OpenMesh/Core/Mesh/PolyMeshT.hh @@ -429,12 +429,12 @@ public: // Make sure that we have face normals on the mesh assert(Kernel::has_face_normals()); - if (is_boundary(edge_handle(_heh))) + if (this->is_boundary(this->edge_handle(_heh))) {//the dihedral angle at a boundary edge is 0 return 0; } - const Normal& n0 = normal(face_handle(_heh)); - const Normal& n1 = normal(face_handle(opposite_halfedge_handle(_heh))); + const Normal& n0 = this->normal(this->face_handle(_heh)); + const Normal& n1 = this->normal(this->face_handle(this->opposite_halfedge_handle(_heh))); Normal he; calc_edge_vector(_heh, he); Scalar da_cos = dot(n0, n1);