| 623 | } |
| 624 | |
| 625 | static int getNewIndex(const CVector3& vert, tvVec3List& vertList) { |
| 626 | tvVec3List::iterator itr = vertList.begin(); |
| 627 | |
| 628 | int count = 0; |
| 629 | while (itr != vertList.end()) { |
| 630 | if (itr->same(vert)) { |
| 631 | return count; |
| 632 | } |
| 633 | count++; |
| 634 | itr++; |
| 635 | } |
| 636 | vertList.push_back(vert); |
| 637 | return count; |
| 638 | } |
| 639 | |
| 640 | static int getNewIndex(const CVector2& vert, tvVec2List& vertList) { |
| 641 | tvVec2List::iterator itr = vertList.begin(); |
no test coverage detected