added an assertion
This commit is contained in:
parent
d5113f6204
commit
4783ac9a62
|
@ -406,6 +406,7 @@ public:
|
|||
*/
|
||||
static void MeanAndGaussian(MeshType & m)
|
||||
{
|
||||
assert(HasFFAdjacency(m));
|
||||
float area0, area1, area2, angle0, angle1, angle2, e01, e12, e20;
|
||||
FaceIterator fi;
|
||||
VertexIterator vi;
|
||||
|
@ -605,7 +606,8 @@ public:
|
|||
|
||||
typename MeshType::VertexIterator vi;
|
||||
|
||||
for(vi = m.vert.begin(); vi != m.vert.end(); ++vi){
|
||||
for(vi = m.vert.begin(); vi != m.vert.end(); ++vi)
|
||||
if(!((*vi).IsD())){
|
||||
vcg::Matrix33<ScalarType> m33;m33.SetZero();
|
||||
face::JumpingPos<typename MeshType::FaceType> p((*vi).VFp(),&(*vi));
|
||||
p.FlipE();
|
||||
|
|
Loading…
Reference in New Issue