|
@@ -108,6 +108,7 @@ Object.assign( Texture.prototype, EventDispatcher.prototype, {
|
|
|
|
|
|
this.offset.copy( source.offset );
|
|
this.offset.copy( source.offset );
|
|
this.repeat.copy( source.repeat );
|
|
this.repeat.copy( source.repeat );
|
|
|
|
+ this.center.copy( source.center );
|
|
this.rotation = source.rotation;
|
|
this.rotation = source.rotation;
|
|
|
|
|
|
this.matrixAutoUpdate = source.matrixAutoUpdate;
|
|
this.matrixAutoUpdate = source.matrixAutoUpdate;
|
|
@@ -185,6 +186,7 @@ Object.assign( Texture.prototype, EventDispatcher.prototype, {
|
|
|
|
|
|
repeat: [ this.repeat.x, this.repeat.y ],
|
|
repeat: [ this.repeat.x, this.repeat.y ],
|
|
offset: [ this.offset.x, this.offset.y ],
|
|
offset: [ this.offset.x, this.offset.y ],
|
|
|
|
+ center: [ this.center.x, this.center.y ],
|
|
rotation: this.rotation,
|
|
rotation: this.rotation,
|
|
|
|
|
|
wrap: [ this.wrapS, this.wrapT ],
|
|
wrap: [ this.wrapS, this.wrapT ],
|