|
@@ -136,9 +136,9 @@ var BABYLON;
|
|
|
indices.push(point.index);
|
|
|
});
|
|
|
});
|
|
|
- result.setVerticesData(positions, BABYLON.VertexBuffer.PositionKind, updatable);
|
|
|
- result.setVerticesData(normals, BABYLON.VertexBuffer.NormalKind, updatable);
|
|
|
- result.setVerticesData(uvs, BABYLON.VertexBuffer.UVKind, updatable);
|
|
|
+ result.setVerticesData(VertexBuffer.PositionKind,positions, updatable);
|
|
|
+ result.setVerticesData(VertexBuffer.NormalKind,normals, updatable);
|
|
|
+ result.setVerticesData(VertexBuffer.UVKind,uvs, updatable);
|
|
|
result.setIndices(indices);
|
|
|
return result;
|
|
|
};
|
|
@@ -146,4 +146,4 @@ var BABYLON;
|
|
|
})();
|
|
|
BABYLON.PolygonMeshBuilder = PolygonMeshBuilder;
|
|
|
})(BABYLON || (BABYLON = {}));
|
|
|
-//# sourceMappingURL=babylon.polygonMesh.js.map
|
|
|
+//# sourceMappingURL=babylon.polygonMesh.js.map
|