소스 검색

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 );
 
 	},