Skip to content
Snippets Groups Projects
Commit f5ff574e authored by Amorilia's avatar Amorilia
Browse files

Another small improvement in match algorithm.

parent a9933d8c
No related branches found
No related tags found
No related merge requests found
......@@ -218,6 +218,10 @@ void NiTriShapeData::DoMatchDetection() {
// Find all vertices that match this one.
for ( unsigned short j = i + 1; j < vertices.size(); ++j ) {
/* this index belongs to another group already */
/* so its vert/norm cannot match this group! */
if ( is_shared[j] )
continue;
/* for automatic regeneration we just consider
* identical positions, though the format would
* allow distinct positions to share a normal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment