Browse Source

Fix coding style #2

Henri Astre 11 năm trước cách đây
mục cha
commit
b2dd2418e2
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;