|
@@ -70,7 +70,7 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
extractPosition: function ( m ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .extractPosition() has been renamed to .copyPosition().' );
|
|
|
+ console.warn( 'THREEMatrix4: .extractPosition() has been renamed to .copyPosition().' );
|
|
|
return this.copyPosition( m );
|
|
|
|
|
|
},
|
|
@@ -123,7 +123,7 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
if ( euler instanceof THREE.Euler === false ) {
|
|
|
|
|
|
- console.error( 'ERROR: Matrix\'s .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order. Please update your code.' );
|
|
|
+ console.error( 'THREE.Matrix: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.' );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -249,7 +249,7 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
setRotationFromQuaternion: function ( q ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .setRotationFromQuaternion() has been deprecated in favor of makeRotationFromQuaternion. Please update your code.' );
|
|
|
+ console.warn( 'THREE.Matrix4: .setRotationFromQuaternion() has been renamed to .makeRotationFromQuaternion().' );
|
|
|
|
|
|
return this.makeRotationFromQuaternion( q );
|
|
|
|
|
@@ -336,7 +336,7 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
if ( n !== undefined ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead.' );
|
|
|
+ console.warn( 'THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead.' );
|
|
|
return this.multiplyMatrices( m, n );
|
|
|
|
|
|
}
|
|
@@ -415,21 +415,21 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
multiplyVector3: function ( vector ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .multiplyVector3() has been removed. Use vector.applyMatrix4( matrix ) or vector.applyProjection( matrix ) instead.' );
|
|
|
+ console.warn( 'THREE.Matrix4: .multiplyVector3() has been removed. Use vector.applyMatrix4( matrix ) or vector.applyProjection( matrix ) instead.' );
|
|
|
return vector.applyProjection( this );
|
|
|
|
|
|
},
|
|
|
|
|
|
multiplyVector4: function ( vector ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .multiplyVector4() has been removed. Use vector.applyMatrix4( matrix ) instead.' );
|
|
|
+ console.warn( 'THREE.Matrix4: .multiplyVector4() has been removed. Use vector.applyMatrix4( matrix ) instead.' );
|
|
|
return vector.applyMatrix4( this );
|
|
|
|
|
|
},
|
|
|
|
|
|
multiplyVector3Array: function ( a ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .multiplyVector3Array() has been renamed. Use matrix.applyToVector3Array( array ) instead.' );
|
|
|
+ console.warn( 'THREE.Matrix4: .multiplyVector3Array() has been renamed. Use matrix.applyToVector3Array( array ) instead.' );
|
|
|
return this.applyToVector3Array( a );
|
|
|
|
|
|
},
|
|
@@ -465,7 +465,7 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
rotateAxis: function ( v ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .rotateAxis() has been removed. Use Vector3.transformDirection( matrix ) instead.' );
|
|
|
+ console.warn( 'THREE.Matrix4: .rotateAxis() has been removed. Use Vector3.transformDirection( matrix ) instead.' );
|
|
|
|
|
|
v.transformDirection( this );
|
|
|
|
|
@@ -473,7 +473,7 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
crossVector: function ( vector ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .crossVector() has been removed. Use vector.applyMatrix4( matrix ) instead.' );
|
|
|
+ console.warn( 'THREE.Matrix4: .crossVector() has been removed. Use vector.applyMatrix4( matrix ) instead.' );
|
|
|
return vector.applyMatrix4( this );
|
|
|
|
|
|
},
|
|
@@ -579,7 +579,7 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
return function () {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .getPosition() has been removed. Use Vector3.setFromMatrixPosition( matrix ) instead.' );
|
|
|
+ console.warn( 'THREE.Matrix4: .getPosition() has been removed. Use Vector3.setFromMatrixPosition( matrix ) instead.' );
|
|
|
|
|
|
var te = this.elements;
|
|
|
return v1.set( te[12], te[13], te[14] );
|
|
@@ -657,31 +657,31 @@ THREE.Matrix4.prototype = {
|
|
|
|
|
|
translate: function ( v ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .translate() has been removed.');
|
|
|
+ console.warn( 'THREE.Matrix4: .translate() has been removed.');
|
|
|
|
|
|
},
|
|
|
|
|
|
rotateX: function ( angle ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .rotateX() has been removed.');
|
|
|
+ console.warn( 'THREE.Matrix4: .rotateX() has been removed.');
|
|
|
|
|
|
},
|
|
|
|
|
|
rotateY: function ( angle ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .rotateY() has been removed.');
|
|
|
+ console.warn( 'THREE.Matrix4: .rotateY() has been removed.');
|
|
|
|
|
|
},
|
|
|
|
|
|
rotateZ: function ( angle ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .rotateZ() has been removed.');
|
|
|
+ console.warn( 'THREE.Matrix4: .rotateZ() has been removed.');
|
|
|
|
|
|
},
|
|
|
|
|
|
rotateByAxis: function ( axis, angle ) {
|
|
|
|
|
|
- console.warn( 'DEPRECATED: Matrix4\'s .rotateByAxis() has been removed.');
|
|
|
+ console.warn( 'THREE.Matrix4: .rotateByAxis() has been removed.');
|
|
|
|
|
|
},
|
|
|
|