浏览代码

Clean up.

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