From 64164b3a8255d54b96ad86375f0f8270ef5a752d Mon Sep 17 00:00:00 2001 From: filipwasil Date: Sun, 15 May 2016 22:26:29 +0200 Subject: [PATCH] missing size() in radme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e6663b..e710b69 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ if (!ret) { for (size_t s = 0; s < shapes.size(); s++) { // Loop over faces(polygon) size_t index_offset = 0; - for (size_t f = 0; f < shapes[i].mesh.num_face_vertices; f++) { + for (size_t f = 0; f < shapes[i].mesh.num_face_vertices.size(); f++) { int fv = shapes[i].mesh.num_face_vertices[f]; // Loop over vertices in the face.