浏览代码

Merge pull request #942 from ssatguru/master

make scaleFunction and rotationFunction type explicit
David Catuhe 9 年之前
父节点
当前提交
5a1559c3c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Mesh/babylon.meshBuilder.ts

+ 1 - 1
src/Mesh/babylon.meshBuilder.ts

@@ -251,7 +251,7 @@
             return MeshBuilder._ExtrudeShapeGeneric(name, shape, path, scale, rotation, null, null, false, false, cap, false, scene, updatable, sideOrientation, instance);
         }
 
-        public static ExtrudeShapeCustom(name: string, options: { shape: Vector3[], path: Vector3[], scaleFunction?, rotationFunction?, ribbonCloseArray?: boolean, ribbonClosePath?: boolean, cap?: number, updatable?: boolean, sideOrientation?: number, instance?: Mesh }, scene: Scene): Mesh {
+        public static ExtrudeShapeCustom(name: string, options: { shape: Vector3[], path: Vector3[], scaleFunction?:any, rotationFunction?:any, ribbonCloseArray?: boolean, ribbonClosePath?: boolean, cap?: number, updatable?: boolean, sideOrientation?: number, instance?: Mesh }, scene: Scene): Mesh {
             var path = options.path;
             var shape = options.shape;
             var scaleFunction = options.scaleFunction || (() => { return 1; });