Explorar o código

Update babylon.polygonmesh.ts

Samuel Girardin %!s(int64=10) %!d(string=hai) anos
pai
achega
28a7d1379f
Modificáronse 1 ficheiros con 1 adicións e 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);