Stupid useless normalization inserted by error.

This commit is contained in:
Paolo Cignoni 2017-07-22 08:03:27 +02:00
parent 75eca5e231
commit 77c0240737
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ static void PerFace(ComputeMeshType &m)
RequirePerFaceNormal(m);
for(FaceIterator f=m.face.begin();f!=m.face.end();++f)
if( !(*f).IsD() )
f->N() = TriangleNormal(*f).Normalize();
f->N() = TriangleNormal(*f);
}