瀏覽代碼

Fix conjugate method. see #13023.

WestLangley 7 年之前
父節點
當前提交
38aea0e4fa
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/math/Quaternion.js

+ 3 - 1
src/math/Quaternion.js

@@ -395,7 +395,9 @@ Object.assign( Quaternion.prototype, {
 
 	inverse: function () {
 
-		return this.conjugate().normalize();
+		// quaternion is assumed to have unit length
+
+		return this.conjugate();
 
 	},