mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #7204 from benjoffe/master
Fixed THREEJS CubeTextureLoader.load and TextureLoader.load
This commit is contained in:
Vendored
+2
-2
@@ -1959,7 +1959,7 @@ declare module THREE {
|
||||
constructor(manager?: LoadingManager);
|
||||
|
||||
manager: LoadingManager;
|
||||
load(url: string, onLoad: (texture: CubeTexture) => void, onProgress?: (event: any) => void, onError?: (event: any) => void): void;
|
||||
load(urls: Array<string>, onLoad?: (texture: CubeTexture) => void, onProgress?: (event: any) => void, onError?: (event: any) => void): void;
|
||||
setCrossOrigin(crossOrigin: string): void;
|
||||
|
||||
}
|
||||
@@ -2076,7 +2076,7 @@ declare module THREE {
|
||||
*
|
||||
* @param url
|
||||
*/
|
||||
load(url: string, onLoad: (texture: Texture) => void): Texture;
|
||||
load(url: string, onLoad?: (texture: Texture) => void): Texture;
|
||||
setCrossOrigin(crossOrigin: string): void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user