提交 7a9ac49a 编写于 作者: M Mr.doob

Minor formatting tweaks.

上级 2c732242
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/ * @author alteredq / http://alteredqualia.com/
*/ */
THREE.BloomPass = function( strength, kernelSize, sigma, resolution ) { THREE.BloomPass = function ( strength, kernelSize, sigma, resolution ) {
strength = ( strength !== undefined ) ? strength : 1; strength = ( strength !== undefined ) ? strength : 1;
kernelSize = ( kernelSize !== undefined ) ? kernelSize : 25; kernelSize = ( kernelSize !== undefined ) ? kernelSize : 25;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/ * @author alteredq / http://alteredqualia.com/
*/ */
THREE.DotScreenPass = function( center, angle, scale ) { THREE.DotScreenPass = function ( center, angle, scale ) {
var shader = THREE.ShaderExtras[ "dotscreen" ]; var shader = THREE.ShaderExtras[ "dotscreen" ];
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/ * @author alteredq / http://alteredqualia.com/
*/ */
THREE.EffectComposer = function( renderer, renderTarget ) { THREE.EffectComposer = function ( renderer, renderTarget ) {
this.renderer = renderer; this.renderer = renderer;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/ * @author alteredq / http://alteredqualia.com/
*/ */
THREE.FilmPass = function( noiseIntensity, scanlinesIntensity, scanlinesCount, grayscale ) { THREE.FilmPass = function ( noiseIntensity, scanlinesIntensity, scanlinesCount, grayscale ) {
var shader = THREE.ShaderExtras[ "film" ]; var shader = THREE.ShaderExtras[ "film" ];
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/ * @author alteredq / http://alteredqualia.com/
*/ */
THREE.SavePass = function( renderTarget ) { THREE.SavePass = function ( renderTarget ) {
var shader = THREE.ShaderExtras[ "screen" ]; var shader = THREE.ShaderExtras[ "screen" ];
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/ * @author alteredq / http://alteredqualia.com/
*/ */
THREE.ShaderPass = function( shader, textureID ) { THREE.ShaderPass = function ( shader, textureID ) {
this.textureID = ( textureID !== undefined ) ? textureID : "tDiffuse"; this.textureID = ( textureID !== undefined ) ? textureID : "tDiffuse";
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/ * @author alteredq / http://alteredqualia.com/
*/ */
THREE.TexturePass = function( texture, opacity ) { THREE.TexturePass = function ( texture, opacity ) {
var shader = THREE.ShaderExtras[ "screen" ]; var shader = THREE.ShaderExtras[ "screen" ];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册