Commit 8a99d0e1 authored by Jan Möbius's avatar Jan Möbius

Fixed undefined macro CHECK in calc_dihedral_angle_fast

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@242 fdac6126-5c0c-442c-9429-916003d36597
parent 9d943ed8
......@@ -367,7 +367,9 @@ public:
\attention Needs the Attributes::Normal attribute for faces */
Scalar calc_dihedral_angle_fast(HalfedgeHandle _heh) const
{
CHECK(Kernel::has_face_normals());
// Make sure that we have face normals on the mesh
assert(Kernel::has_face_normals());
if (is_boundary(edge_handle(_heh)))
{//the dihedral angle at a boundary edge is 0
return 0;
......
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