ソースを参照

Merge pull request #714 from jbousquie/fix.CreateXXX.optionable

fix : the pathArray isn't optional in CreateRibbon
Raanan Weber 10 年 前
コミット
2da56af020
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/Mesh/babylon.mesh.vertexData.ts

+ 1 - 1
src/Mesh/babylon.mesh.vertexData.ts

@@ -381,7 +381,7 @@
             return result;
         }
 
-        public static CreateRibbon(options: { pathArray?: Vector3[][], closeArray?: boolean, closePath?: boolean, offset?: number, sideOrientation?: number }): VertexData {
+        public static CreateRibbon(options: { pathArray: Vector3[][], closeArray?: boolean, closePath?: boolean, offset?: number, sideOrientation?: number }): VertexData {
             var pathArray:Vector3[][] = options.pathArray;
             var closeArray: boolean = options.closeArray || false;
             var closePath: boolean = options.closePath || false;