Skip to content
Snippets Groups Projects
Commit 849070dc authored by Tazpn's avatar Tazpn
Browse files

Fix length calc based on m444x's suggestion.

parent 0a4f1e59
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,7 @@ ushort SkinPartition::CalcNumTriangles() const {
size = (ushort)triangles.size();
} else {
for (size_t i=0; i<stripLengths.size(); ++i)
size += (ushort)stripLengths[i];
size -= 2;
size += ((ushort)stripLengths[i] - 2);
}
return size;
}
\ No newline at end of file
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