Skip to content

Commit

Permalink
Merge pull request #11384 from Mugen87/dev
Browse files Browse the repository at this point in the history
Three.Legacy: Improve warnings
  • Loading branch information
mrdoob authored May 24, 2017
2 parents 89cb329 + 56e9a17 commit 1d8f05f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Three.Legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,7 @@ Object.assign( Matrix3.prototype, {
},
multiplyVector3Array: function ( a ) {

console.warn( 'THREE.Matrix3: .multiplyVector3Array() has been renamed. Use matrix.applyToVector3Array( array ) instead.' );
return this.applyToVector3Array( a );
console.error( 'THREE.Matrix3: .multiplyVector3Array() has been removed.' );

},
applyToBuffer: function( buffer, offset, length ) {
Expand Down Expand Up @@ -505,8 +504,7 @@ Object.assign( Matrix4.prototype, {
},
multiplyVector3Array: function ( a ) {

console.warn( 'THREE.Matrix4: .multiplyVector3Array() has been renamed. Use matrix.applyToVector3Array( array ) instead.' );
return this.applyToVector3Array( a );
console.error( 'THREE.Matrix4: .multiplyVector3Array() has been removed.' );

},
rotateAxis: function ( v ) {
Expand Down

0 comments on commit 1d8f05f

Please sign in to comment.