Mathieu Brédif 7 лет назад
Родитель
Сommit
dbe07203e6
1 измененных файлов с 1 добавлено и 1 удалено
  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();
 
 		}
 

粤ICP备19079148号