Browse Source

Fixed typo

Elias Hasle 6 years ago
parent
commit
461f7cf355
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/cameras/OrthographicCamera.js

+ 1 - 1
src/cameras/OrthographicCamera.js

@@ -17,7 +17,7 @@ function OrthographicCamera( left, right, top, bottom, near, far ) {
 
 	this.left = ( left !== undefined ) ? left : -1;
 	this.right = ( right !== undefined ) ? right : 1;
-	this.top = ( top !== undefined ) ? ltopeft : 1;
+	this.top = ( top !== undefined ) ? top : 1;
 	this.bottom = ( bottom !== undefined ) ? bottom : -1;
 
 	this.near = ( near !== undefined ) ? near : 0.1;