From a3653614e47e947747baf5d143f9ea3318e7efd3 Mon Sep 17 00:00:00 2001 From: Samuel Girardin Date: Mon, 20 Apr 2015 20:48:19 +0200 Subject: [PATCH] Update babylon.polygonmesh.ts setVerticesData right order fixed --- Babylon/Mesh/babylon.polygonmesh.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Babylon/Mesh/babylon.polygonmesh.ts b/Babylon/Mesh/babylon.polygonmesh.ts index 0bb8995e000..2b739f0488d 100644 --- a/Babylon/Mesh/babylon.polygonmesh.ts +++ b/Babylon/Mesh/babylon.polygonmesh.ts @@ -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; } } -} \ No newline at end of file +}