Procházet zdrojové kódy

Fix mipmaps property type for cube textures

Pim Schreurs před 5 roky
rodič
revize
25f8b4d559
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/textures/Texture.d.ts

+ 1 - 1
src/textures/Texture.d.ts

@@ -33,7 +33,7 @@ export class Texture extends EventDispatcher {
 	name: string;
 	sourceFile: string;
 	image: any; // HTMLImageElement or ImageData or { width: number, height: number } in some children;
-	mipmaps: ImageData[];
+	mipmaps: any[]; // ImageData[] for 2D textures and CubeTexture[] for cube textures;
 	mapping: Mapping;
 	wrapS: Wrapping;
 	wrapT: Wrapping;