提交 aa074e08 编写于 作者: F Franklin Ta

Move Vector3.applyProjection into Three.Legacy.js

上级 e6182d73
......@@ -570,6 +570,12 @@ Object.assign( Vector3.prototype, {
console.warn( 'THREE.Vector3: .getColumnFromMatrix() has been renamed to .setFromMatrixColumn().' );
return this.setFromMatrixColumn( matrix, index );
},
applyProjection: function ( m ) {
console.warn( 'THREE.Vector3: .applyProjection() has been removed. Use .applyMatrix4( m ) instead.' );
return this.applyMatrix4( m );
}
} );
......
......@@ -310,14 +310,6 @@ Vector3.prototype = {
},
applyProjection: function ( m ) {
console.warn( 'THREE.Vector3: .applyProjection() is deprecated. Use .applyMatrix4( m ) instead.' );
return this.applyMatrix4( m );
},
applyQuaternion: function ( q ) {
var x = this.x, y = this.y, z = this.z;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册