浏览代码

Fix up spacing

Mike Piecuch 6 年之前
父节点
当前提交
665b441a5a
共有 1 个文件被更改,包括 3 次插入11 次删除
  1. 3 11
      examples/js/Fire.js

+ 3 - 11
examples/js/Fire.js

@@ -134,9 +134,7 @@ THREE.Fire = function ( geometry, options ) {
 	};
 
 
-	this.field0 = new THREE.WebGLRenderTarget( textureWidth,
-											   textureHeight,
-											   parameters );
+	this.field0 = new THREE.WebGLRenderTarget( textureWidth, textureHeight, parameters );
 
 	this.field0.background = new THREE.Color( 0x000000 );
 
@@ -146,9 +144,7 @@ THREE.Fire = function ( geometry, options ) {
 
 	this.field0.background = new THREE.Color( 0x000000 );
 
-	this.fieldProj = new THREE.WebGLRenderTarget( textureWidth,
-											      textureHeight,
-											      parameters );
+	this.fieldProj = new THREE.WebGLRenderTarget( textureWidth, textureHeight, parameters );
 
 	this.field0.background = new THREE.Color( 0x000000 );
 
@@ -165,11 +161,7 @@ THREE.Fire = function ( geometry, options ) {
 	this.fieldScene = new THREE.Scene();
 	this.fieldScene.background = new THREE.Color( 0x000000 );
 
-	this.orthoCamera = new THREE.OrthographicCamera( textureWidth / - 2,
-											         textureWidth / 2,
-											         textureHeight / 2,
-											         textureHeight / - 2,
-											         1, 2 );
+	this.orthoCamera = new THREE.OrthographicCamera( textureWidth / - 2, textureWidth / 2, textureHeight / 2, textureHeight / - 2, 1, 2 );
 	this.orthoCamera.position.z = 1;
 
 	this.fieldGeometry = new THREE.PlaneGeometry( textureWidth, textureHeight );