浏览代码

[Typescript definition] texture.ctor, args noMipmap & invertY is optional

Vincent Bouzon 11 年之前
父节点
当前提交
0628b93faf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Typescript/Materials/textures/babylon.texture.d.ts

+ 1 - 1
Typescript/Materials/textures/babylon.texture.d.ts

@@ -6,7 +6,7 @@ declare module BABYLON {
         url: string
         animations: Animation[];
 
-        constructor(url: string, scene: Scene, noMipmap: boolean, invertY: boolean);
+        constructor(url: string, scene: Scene, noMipmap?: boolean, invertY?: boolean);
 
         static EXPLICIT_MODE: number;
         static SPHERICAL_MODE: number;