Merge pull request #83 from filipwasil/ReadmeFix
missing size() in radme
This commit is contained in:
@@ -123,7 +123,7 @@ if (!ret) {
|
|||||||
for (size_t s = 0; s < shapes.size(); s++) {
|
for (size_t s = 0; s < shapes.size(); s++) {
|
||||||
// Loop over faces(polygon)
|
// Loop over faces(polygon)
|
||||||
size_t index_offset = 0;
|
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];
|
int fv = shapes[i].mesh.num_face_vertices[f];
|
||||||
|
|
||||||
// Loop over vertices in the face.
|
// Loop over vertices in the face.
|
||||||
|
|||||||
Reference in New Issue
Block a user