Преглед изворни кода

[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;