Parcourir la source

Update babylon.polygonmesh.js

Samuel Girardin il y a 10 ans
Parent
commit
6e3dd5ff8c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Babylon/Mesh/babylon.polygonmesh.js

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

@@ -137,7 +137,7 @@ var BABYLON;
                 });
             });
             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);
             return result;