@@ -126,6 +126,7 @@ Object.assign( THREE.CompressedTextureLoader.prototype, {
setPath: function ( value ) {
this.path = value;
+ return this;
}
@@ -53,12 +53,14 @@ Object.assign( THREE.CubeTextureLoader.prototype, {
setCrossOrigin: function ( value ) {
this.crossOrigin = value;
},
@@ -44,12 +44,14 @@ Object.assign( THREE.ImageLoader.prototype, {
@@ -37,12 +37,14 @@ Object.assign( THREE.TextureLoader.prototype, {
@@ -103,18 +103,21 @@ Object.assign( THREE.XHRLoader.prototype, {
setResponseType: function ( value ) {
this.responseType = value;
setWithCredentials: function ( value ) {
this.withCredentials = value;