Explorar o código

fix : the pathArray isn't optional in CreateRibbon

jbousquie %!s(int64=10) %!d(string=hai) anos
pai
achega
1f118e40c3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;