浏览代码

Sprite: Removed unneeded updateMatrix.

Mr.doob 11 年之前
父节点
当前提交
80276a1192
共有 1 个文件被更改,包括 0 次插入8 次删除
  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 ) {
 
 	if ( object === undefined ) object = new THREE.Sprite( this.material );