Procházet zdrojové kódy

Update babylon.polygonmesh.ts

Samuel Girardin před 10 roky
rodič
revize
28a7d1379f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);