Fix typo in README.md
This commit is contained in:
@@ -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],
|
||||||
|
|||||||
Reference in New Issue
Block a user