Merge pull request #83 from filipwasil/ReadmeFix

missing size() in radme
This commit is contained in:
Syoyo Fujita
2016-05-16 13:31:49 +09:00

View File

@@ -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.