提交 d5fb5154 编写于 作者: M Mr.doob

Vector3: Added API change warning in setFromMAtrixColumn. See...

Vector3: Added API change warning in setFromMAtrixColumn. See f91cc0c1.
上级 9de881d6
......@@ -727,6 +727,15 @@ THREE.Vector3.prototype = {
setFromMatrixColumn: function ( m, index ) {
if ( typeof m === 'number' ) {
console.warn( 'THREE.Vector3: setFromMatrixColumn now expects ( matrix, index ).' );
m = arguments[ 1 ];
index = arguments[ 0 ];
}
return this.fromArray( m.elements, index * 4 );
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册