fixed some bugs

This commit is contained in:
Paolo Cignoni 2006-10-12 14:15:13 +00:00
parent 51efef83bf
commit 8d056ebdd4
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ namespace vcg
for (int d=0; d<3; d++) for (int d=0; d<3; d++)
plane->normal[d] = eigenvectors[d][2]; plane->normal[d] = eigenvectors[d][2];
plane->normal.Normalize(); plane->normal.Normalize();
iter->N() = plane->normal;
plane->index = int( std::distance(begin, iter) ); plane->index = int( std::distance(begin, iter) );
} }