浏览代码

Update babylon.polygonmesh.js

Samuel Girardin 10 年之前
父节点
当前提交
6e3dd5ff8c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;