Skip to content

Commit

Permalink
Merge pull request #1 from samuelgirardin/samuelgirardin-patch-1
Browse files Browse the repository at this point in the history
Update babylon.polygonmesh.ts
  • Loading branch information
samuelgirardin committed Apr 20, 2015
2 parents 9361bd6 + a365361 commit f1749d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Babylon/Mesh/babylon.polygonmesh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@
});
});

result.setVerticesData(positions, VertexBuffer.PositionKind, updatable);
result.setVerticesData(normals, VertexBuffer.NormalKind, updatable);
result.setVerticesData(uvs, VertexBuffer.UVKind, updatable);
result.setVerticesData(VertexBuffer.PositionKind,positions, updatable);
result.setVerticesData(VertexBuffer.NormalKind, updatable);
result.setVerticesData(VertexBuffer.UVKind,uvs, updatable);
result.setIndices(indices);

return result;
}

}
}
}

0 comments on commit f1749d7

Please sign in to comment.