提交 a0699b78 编写于 作者: R Raoul v. R

Let the CubeTextureLoader use the loading manager.

Actually use the loading manager in the CubeTextureLoader by passing it
to the internal ImageLoader.
上级 f8f77ccf
...@@ -16,7 +16,7 @@ THREE.CubeTextureLoader.prototype = { ...@@ -16,7 +16,7 @@ THREE.CubeTextureLoader.prototype = {
var texture = new THREE.CubeTexture( [] ); var texture = new THREE.CubeTexture( [] );
var loader = new THREE.ImageLoader(); var loader = new THREE.ImageLoader( this.manager );
loader.setCrossOrigin( this.crossOrigin ); loader.setCrossOrigin( this.crossOrigin );
loader.setPath( this.path ); loader.setPath( this.path );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册