Corrected harmless warnings

This commit is contained in:
Paolo Cignoni 2017-03-02 10:11:00 +01:00
parent 4046f82f75
commit 5a29812d7b
2 changed files with 1 additions and 4 deletions

View File

@ -110,7 +110,6 @@ public:
CoordType p0=f->P((e+2)%3);
CoordType p1=f->P(e);
CoordType p2=f->P((e+1)%3);
typedef typename CoordType::ScalarType ScalarType;
CoordType dir0=p2-p1;
CoordType dir1=p0-p1;
dir0.Normalize();
@ -145,7 +144,6 @@ public:
CoordType p0=f->cP((e+2)%3);
CoordType p1=f->cP(e);
CoordType p2=f->cP((e+1)%3);
typedef typename CoordType::ScalarType ScalarType;
CoordType dir0=p2-p1;
CoordType dir1=p0-p1;
return Angle(dir0,dir1);

View File

@ -513,9 +513,8 @@ namespace vcg
if( HEdgeType::HasHFAdjacency() && FaceType::HasFHAdjacency()){
FaceIterator fi0 = vcg::tri::Allocator<MeshType>::AddFaces(m,1);
vcg::tri::Allocator<MeshType>::AddFaces(m,1);
m.face.back().ImportData(*e0->HFp());
SetRelationsLoopFace(&(*ei0),e1->HFp()); // one loop to the old face
SetRelationsLoopFace(&(*ei1),&m.face.back()); // the other to the new face
}