Commit b85c224c authored by Jan Möbius's avatar Jan Möbius
Browse files

gcc-4.7 compatibility

git-svn-id: fdac6126-5c0c-442c-9429-916003d36597
parent a146d6c8
......@@ -429,12 +429,12 @@ public:
// Make sure that we have face normals on the mesh
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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment