fixed some bugs
This commit is contained in:
parent
51efef83bf
commit
8d056ebdd4
|
@ -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) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue