ソースを参照

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;