Commit 85777f5335da6661bdaa423825d2f7ad3f264187
1 parent
5db14a38
fixed triangle strip insertion bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
stim/visualization/obj.h
... | ... | @@ -482,7 +482,7 @@ public: |
482 | 482 | |
483 | 483 | case OBJ_TRIANGLE_STRIP: |
484 | 484 | std::vector<geometry> tstrip = genTriangleStrip(current_geo); //generate a list of faces from the current geometry |
485 | - F.insert(F.begin(), tstrip.begin(), tstrip.end()); //insert all of the triangles into the face list | |
485 | + F.insert(F.end(), tstrip.begin(), tstrip.end()); //insert all of the triangles into the face list | |
486 | 486 | break; |
487 | 487 | } |
488 | 488 | } | ... | ... |