diff --git a/src/math/Matrix4.js b/src/math/Matrix4.js index 5e2fcdadaeb5ad5c893dc7d288538e36cbc3fb51..92f4612de0f8647f0207b6bbe7ea43460a84d23e 100644 --- a/src/math/Matrix4.js +++ b/src/math/Matrix4.js @@ -150,17 +150,13 @@ Object.assign( Matrix4.prototype, { }(), - makeRotationFromEuler: function ( euler, order ) { + makeRotationFromEuler: function ( euler ) { if ( ! ( euler && euler.isEuler ) ) { console.error( 'THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.' ); } - if ( order ) { - - throw new Error( 'THREE.Matrix4: .makeRotationFromEuler() no longer accepts order as the second parameter.' ); - } var te = this.elements; diff --git a/src/math/Quaternion.js b/src/math/Quaternion.js index 826748f513ad54fea3895cee0e8f8f491c57d017..f3487bcd4a6ebefe2070e07762d2b72f037f4efe 100644 --- a/src/math/Quaternion.js +++ b/src/math/Quaternion.js @@ -202,11 +202,6 @@ Object.assign( Quaternion.prototype, { } - if ( typeof update === 'string' || update instanceof String ) { - - throw new Error( 'THREE.Quaternion: .setFromEuler() no longer accepts order as the second parameter.' ); - } - var x = euler._x, y = euler._y, z = euler._z, order = euler.order; // http://www.mathworks.com/matlabcentral/fileexchange/