Merge pull request #16559 from markezine/patch-1

three-core.d.ts - correction to CubeTextureLoader
This commit is contained in:
Arthur Ozga
2017-05-18 16:30:29 -07:00
committed by GitHub

View File

@@ -2243,7 +2243,7 @@ export class CubeTextureLoader {
corssOrigin: string;
path: string;
load(urls: Array<string>, onLoad?: (texture: CubeTexture) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void;
load(urls: Array<string>, onLoad?: (texture: CubeTexture) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): CubeTexture;
setCrossOrigin(crossOrigin: string): CubeTextureLoader;
setPath(path: string): CubeTextureLoader;
}