提交 0cbbe5a9 编写于 作者: M Mugen87

Euler: Fix typo.

上级 66e0e9d3
......@@ -9,7 +9,7 @@ import { _Math } from './Math.js';
* @author bhouston / http://clara.io
*/
var _matrix, _quaterion;
var _matrix, _quaternion;
function Euler( x, y, z, order ) {
......@@ -275,11 +275,11 @@ Object.assign( Euler.prototype, {
// WARNING: this discards revolution information -bhouston
if ( _quaterion === undefined ) _quaterion = new Quaternion();
if ( _quaternion === undefined ) _quaternion = new Quaternion();
_quaterion.setFromEuler( this );
_quaternion.setFromEuler( this );
return this.setFromQuaternion( _quaterion, newOrder );
return this.setFromQuaternion( _quaternion, newOrder );
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册