Browse Source

normalize in Quaternion.slerp

Mathieu Brédif 7 years ago
parent
commit
dbe07203e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/math/Quaternion.js

+ 1 - 1
src/math/Quaternion.js

@@ -543,7 +543,7 @@ Object.assign( Quaternion.prototype, {
 			this._y = s * y + t * this._y;
 			this._z = s * z + t * this._z;
 
-			return this;
+			return this.normalize();
 
 		}