mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
Merging merging
This commit is contained in:
@@ -27,12 +27,7 @@ THREE.Texture.prototype = {
|
||||
|
||||
clone: function () {
|
||||
|
||||
var clonedTexture = new THREE.Texture( this.image, this.mapping, this.wrapS, this.wrapT, this.magFilter, this.minFilter );
|
||||
|
||||
clonedTexture.offset.copy( this.offset );
|
||||
clonedTexture.repeat.copy( this.repeat );
|
||||
|
||||
return clonedTexture;
|
||||
return new THREE.Texture( this.image, this.mapping, this.wrapS, this.wrapT, this.magFilter, this.minFilter );
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user