提交 0fc52597 编写于 作者: M Mugen87

THREE.Legacy: Better warning for Matrix4.makeFrustum()

上级 8f9d85ad
......@@ -337,7 +337,7 @@
Matrix4.applyToVector3Array() has been removed.<br /><br />
Matrix4.makeFrustum() has been renamed to [page:Matrix4.makePerspective]().
Matrix4.makeFrustum() has been removed. Use [page:Matrix4.makePerspective]( left, right, top, bottom, near, far ) instead.
</div>
......
......@@ -469,7 +469,7 @@ Object.assign( Matrix4.prototype, {
},
makeFrustum: function( left, right, bottom, top, near, far ) {
console.warn( 'THREE.Matrix4: .makeFrustum() has been renamed to .makePerspective().' );
console.warn( 'THREE.Matrix4: .makeFrustum() has been removed. Use .makePerspective( left, right, top, bottom, near, far ) instead.' );
return this.makePerspective( left, right, top, bottom, near, far );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册