Browse Source

Fix conjugate method. see #13023.

WestLangley 7 năm trước cách đây
mục cha
commit
38aea0e4fa
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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();
 
 	},