Przeglądaj źródła

Update babylon.polygonmesh.ts

Samuel Girardin 10 lat temu
rodzic
commit
28a7d1379f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Babylon/Mesh/babylon.polygonmesh.ts

+ 1 - 1
Babylon/Mesh/babylon.polygonmesh.ts

@@ -153,7 +153,7 @@
             });
 
             result.setVerticesData(VertexBuffer.PositionKind,positions,  updatable);
-            result.setVerticesData(VertexBuffer.NormalKind,  updatable);
+            result.setVerticesData(VertexBuffer.NormalKind,normals  updatable);
             result.setVerticesData(VertexBuffer.UVKind,uvs, updatable);
             result.setIndices(indices);