Selaa lähdekoodia

Sprite: Removed unneeded updateMatrix.

Mr.doob 11 vuotta sitten
vanhempi
commit
80276a1192
1 muutettua tiedostoa jossa 0 lisäystä ja 8 poistoa
  1. 0 8
      src/objects/Sprite.js

+ 0 - 8
src/objects/Sprite.js

@@ -56,14 +56,6 @@ THREE.Sprite.prototype.raycast = ( function () {
 
 
 }() );
 }() );
 
 
-THREE.Sprite.prototype.updateMatrix = function () {
-
-	this.matrix.compose( this.position, this.quaternion, this.scale );
-
-	this.matrixWorldNeedsUpdate = true;
-
-};
-
 THREE.Sprite.prototype.clone = function ( object ) {
 THREE.Sprite.prototype.clone = function ( object ) {
 
 
 	if ( object === undefined ) object = new THREE.Sprite( this.material );
 	if ( object === undefined ) object = new THREE.Sprite( this.material );