瀏覽代碼

Clean up for linting.

linbingquan 4 年之前
父節點
當前提交
8926652642
共有 1 個文件被更改,包括 8 次插入8 次删除
  1. 8 8
      src/cameras/OrthographicCamera.js

+ 8 - 8
src/cameras/OrthographicCamera.js

@@ -12,14 +12,14 @@ class OrthographicCamera extends Camera {
 		this.type = 'OrthographicCamera';
 
 		this.zoom = 1;
-		this.view = null
-    this.left = left;
-    this.right = right;
-    this.top = top;
-    this.bottom = bottom;
-
-    this.near = near;
-    this.far = far;
+		this.view = null;
+		this.left = left;
+		this.right = right;
+		this.top = top;
+		this.bottom = bottom;
+
+		this.near = near;
+		this.far = far;
 
 		this.left = ( left !== undefined ) ? left : - 1;
 		this.right = ( right !== undefined ) ? right : 1;