Merge pull request #72 from jlfwong/patch-1

Fix typo in README.md
This commit is contained in:
Syoyo Fujita
2016-04-13 01:04:59 +09:00

View File

@@ -180,7 +180,7 @@ for (size_t i = 0; i < shapes.size(); i++) {
for (size_t n = 0; n < shapes[i].mesh.num_vertices.size(); n++) { for (size_t n = 0; n < shapes[i].mesh.num_vertices.size(); n++) {
int ngon = shapes[i].mesh.num_vertices[n]; int ngon = shapes[i].mesh.num_vertices[n];
for (size_t f = 0; f < ngon; f++) { for (size_t f = 0; f < ngon; f++) {
unsigend int v = shapes[i].mesh.indices[indexOffset + f]; unsigned int v = shapes[i].mesh.indices[indexOffset + f];
printf(" face[%ld] v[%ld] = (%f, %f, %f)\n", n, printf(" face[%ld] v[%ld] = (%f, %f, %f)\n", n,
shapes[i].mesh.positions[3*v+0], shapes[i].mesh.positions[3*v+0],
shapes[i].mesh.positions[3*v+1], shapes[i].mesh.positions[3*v+1],