瀏覽代碼

Fixed remaining getter based value access.

Mr.doob 12 年之前
父節點
當前提交
aa2b36105b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/math/Quaternion.js

+ 1 - 1
src/math/Quaternion.js

@@ -415,7 +415,7 @@ THREE.Quaternion.prototype = {
 
 	equals: function ( quaternion ) {
 
-		return ( quaternion._x === this._x ) && ( quaternion._y === this.y ) && ( quaternion._z === this._z ) && ( quaternion._w === this._w );
+		return ( quaternion._x === this._x ) && ( quaternion._y === this._y ) && ( quaternion._z === this._z ) && ( quaternion._w === this._w );
 
 	},