From 85777f5335da6661bdaa423825d2f7ad3f264187 Mon Sep 17 00:00:00 2001 From: David Mayerich Date: Fri, 10 Mar 2017 01:04:58 -0600 Subject: [PATCH] fixed triangle strip insertion bug --- stim/visualization/obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stim/visualization/obj.h b/stim/visualization/obj.h index 32087de..dfc5235 100644 --- a/stim/visualization/obj.h +++ b/stim/visualization/obj.h @@ -482,7 +482,7 @@ public: case OBJ_TRIANGLE_STRIP: std::vector tstrip = genTriangleStrip(current_geo); //generate a list of faces from the current geometry - F.insert(F.begin(), tstrip.begin(), tstrip.end()); //insert all of the triangles into the face list + F.insert(F.end(), tstrip.begin(), tstrip.end()); //insert all of the triangles into the face list break; } } -- libgit2 0.21.4