|
@@ -119,6 +119,14 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
}(),
|
|
|
|
|
|
+ setRotationFromEuler: function ( v, order ) {
|
|
|
+
|
|
|
+ console.warn( 'DEPRECATED: Matrix4\'s .setRotationFromEuler() has been deprecated in favor of makeRotationFromEuler. Please update your code.' );
|
|
|
+
|
|
|
+ return this.makeRotationFromEuler( v, order );
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
makeRotationFromEuler: function ( v, order ) {
|
|
|
|
|
|
var te = this.elements;
|
|
@@ -241,6 +249,14 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
},
|
|
|
|
|
|
+ setRotationFromQuaternion: function ( q ) {
|
|
|
+
|
|
|
+ console.warn( 'DEPRECATED: Matrix4\'s .setRotationFromQuaternion() has been deprecated in favor of makeRotationFromQuaternion. Please update your code.' );
|
|
|
+
|
|
|
+ return this.makeRotationFromQuaternion( q );
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
makeRotationFromQuaternion: function ( q ) {
|
|
|
|
|
|
var te = this.elements;
|
|
@@ -894,6 +910,14 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
THREE.extend( THREE.Matrix4.prototype, {
|
|
|
|
|
|
+ compose: function ( position, quaternion, scale ) {
|
|
|
+
|
|
|
+ console.warn( 'DEPRECATED: Matrix4\'s .compose() has been deprecated in favor of makeFromPositionQuaternionScale. Please update your code.' );
|
|
|
+
|
|
|
+ return this.makeFromPositionQuaternionScale( position, quaternion, scale );
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
makeFromPositionQuaternionScale: function ( position, quaternion, scale ) {
|
|
|
|
|
|
var te = this.elements;
|