Explorar el Código

Update babylon.polygonmesh.ts

Samuel Girardin hace 10 años
padre
commit
28a7d1379f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);