Browse Source

Merge pull request #1 from samuelgirardin/samuelgirardin-patch-1

Update babylon.polygonmesh.ts
Samuel Girardin 10 years ago
parent
commit
f1749d706b
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Babylon/Mesh/babylon.polygonmesh.ts

+ 4 - 4
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);
             result.setIndices(indices);
 
 
             return result;
             return result;
         }
         }
 
 
     }
     }
-}
+}