Mr.doob 6 سال پیش
والد
کامیت
598155b468
1فایلهای تغییر یافته به همراه5 افزوده شده و 4 حذف شده
  1. 5 4
      src/math/Quaternion.js

+ 5 - 4
src/math/Quaternion.js

@@ -1,6 +1,3 @@
-import { _Math } from './Math.js';
-import { Vector3 } from './Vector3.js';
-
 /**
 /**
  * @author mikael emtinger / http://gomo.se/
  * @author mikael emtinger / http://gomo.se/
  * @author alteredq / http://alteredqualia.com/
  * @author alteredq / http://alteredqualia.com/
@@ -8,6 +5,9 @@ import { Vector3 } from './Vector3.js';
  * @author bhouston / http://clara.io
  * @author bhouston / http://clara.io
  */
  */
 
 
+import { _Math } from './Math.js';
+import { Vector3 } from './Vector3.js';
+
 function Quaternion( x, y, z, w ) {
 function Quaternion( x, y, z, w ) {
 
 
 	this._x = x || 0;
 	this._x = x || 0;
@@ -18,8 +18,9 @@ function Quaternion( x, y, z, w ) {
 }
 }
 
 
 Object.assign( Quaternion, {
 Object.assign( Quaternion, {
+
 	isQuaternion: true,
 	isQuaternion: true,
-	
+
 	slerp: function ( qa, qb, qm, t ) {
 	slerp: function ( qa, qb, qm, t ) {
 
 
 		return qm.copy( qa ).slerp( qb, t );
 		return qm.copy( qa ).slerp( qb, t );