diff --git a/src/math/Matrix4.js b/src/math/Matrix4.js index f541e99fb3574ff89e123cfea8ce00bb87cfaabf..10bfabcc0b67bf756dcfcf19d751375d9a62e81a 100644 --- a/src/math/Matrix4.js +++ b/src/math/Matrix4.js @@ -835,6 +835,12 @@ Matrix4.prototype = { makePerspective: function ( left, right, top, bottom, near, far ) { + if ( far === undefined ) { + + console.warn( 'THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs.'); + + } + var te = this.elements; var x = 2 * near / ( right - left ); var y = 2 * near / ( top - bottom );