Browse Source

Fixed Sprite breakage.

Mr.doob 12 years ago
parent
commit
1983a69e0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/objects/Sprite.js

+ 1 - 1
src/objects/Sprite.js

@@ -23,7 +23,7 @@ THREE.Sprite.prototype = Object.create( THREE.Object3D.prototype );
 THREE.Sprite.prototype.updateMatrix = function () {
 
 	this.rotation3d.set( 0, 0, this.rotation );
-	this.quaterion.setFromEuler( this.rotation3d, this.eulerOrder );
+	this.quaternion.setFromEuler( this.rotation3d, this.eulerOrder );
 	this.matrix.makeFromPositionQuaternionScale( this.position, this.quaternion, this.scale );
 
 	this.matrixWorldNeedsUpdate = true;