Henri Astre 11 роки тому
батько
коміт
b2dd2418e2
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      src/math/Quaternion.js

+ 2 - 2
src/math/Quaternion.js

@@ -399,9 +399,9 @@ THREE.Quaternion.prototype = {
 
 	slerp: function ( qb, t ) {
 
-		if (t === 0) return this;
+		if ( t === 0 ) return this;
 
-		if (t === 1) return this.copy( qb );
+		if ( t === 1 ) return this.copy( qb );
 
 		var x = this._x, y = this._y, z = this._z, w = this._w;