fix this ptr
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1146 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -75,12 +75,12 @@ uint PolyMeshT<Kernel>::find_feature_edges(Scalar _angle_tresh)
|
||||
{
|
||||
if (fabs(calc_dihedral_angle(*e_it)) > _angle_tresh)
|
||||
{//note: could be optimized by comparing cos(dih_angle) vs. cos(_angle_tresh)
|
||||
status(*e_it).set_feature(true);
|
||||
this->status(*e_it).set_feature(true);
|
||||
n_feature_edges++;
|
||||
}
|
||||
else
|
||||
{
|
||||
status(*e_it).set_feature(false);
|
||||
this->status(*e_it).set_feature(false);
|
||||
}
|
||||
}
|
||||
return n_feature_edges;
|
||||
|
||||
Reference in New Issue
Block a user