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:
@@ -367,7 +367,9 @@ public:
|
|||||||
\attention Needs the Attributes::Normal attribute for faces */
|
\attention Needs the Attributes::Normal attribute for faces */
|
||||||
Scalar calc_dihedral_angle_fast(HalfedgeHandle _heh) const
|
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)))
|
if (is_boundary(edge_handle(_heh)))
|
||||||
{//the dihedral angle at a boundary edge is 0
|
{//the dihedral angle at a boundary edge is 0
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user