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
This commit is contained in:
Jan Möbius
2009-11-26 07:48:17 +00:00
parent 9d943ed885
commit 8a99d0e1be

View File

@@ -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;