Browse Source

Three.Legacy: Corrected Matrix4.makeFrustum()

Mugen87 8 years ago
parent
commit
3b89ec1c51
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Three.Legacy.js

+ 1 - 0
src/Three.Legacy.js

@@ -470,6 +470,7 @@ Object.assign( Matrix4.prototype, {
 	makeFrustum: function( left, right, bottom, top, near, far ) {
 
 		console.error( 'THREE.Matrix4: .makeFrustum() has been renamed to .makePerspective().' );
+		return this.makePerspective( left, right, bottom, top, near, far );
 
 	}