Skip to content

Commit

Permalink
Minor examples cleanup (mrdoob#26530)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Aug 3, 2023
1 parent 1c2c80c commit b1fbdc5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/webgl_buffergeometry_drawrange.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
gui.add( effectController, 'maxConnections', 0, 30, 1 );
gui.add( effectController, 'particleCount', 0, maxParticleCount, 1 ).onChange( function ( value ) {

particleCount = parseInt( value );
particleCount = value;
particles.setDrawRange( 0, particleCount );

} );
Expand Down
2 changes: 1 addition & 1 deletion examples/webgl_gpgpu_water.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@

gui.add( effectController, 'mouseSize', 1.0, 100.0, 1.0 ).onChange( valuesChanger );
gui.add( effectController, 'viscosity', 0.9, 0.999, 0.001 ).onChange( valuesChanger );
gui.add( effectController, 'spheresEnabled', 0, 1, 1 ).onChange( valuesChanger );
gui.add( effectController, 'spheresEnabled' ).onChange( valuesChanger );
const buttonSmooth = {
smoothWater: function () {

Expand Down
2 changes: 1 addition & 1 deletion examples/webgl_postprocessing_sao.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
'Normal': SAOPass.OUTPUT.Normal
} ).onChange( function ( value ) {

saoPass.params.output = parseInt( value );
saoPass.params.output = value;

} );
gui.add( saoPass.params, 'saoBias', - 1, 1 );
Expand Down
2 changes: 1 addition & 1 deletion examples/webgl_postprocessing_ssao.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
'Normal': SSAOPass.OUTPUT.Normal
} ).onChange( function ( value ) {

ssaoPass.output = parseInt( value );
ssaoPass.output = value;

} );
gui.add( ssaoPass, 'kernelRadius' ).min( 0 ).max( 32 );
Expand Down
2 changes: 1 addition & 1 deletion examples/webgl_postprocessing_ssr.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
'Metalness': SSRPass.OUTPUT.Metalness,
} ).onChange( function ( value ) {

ssrPass.output = parseInt( value );
ssrPass.output = value;

} );
ssrPass.opacity = 1;
Expand Down

0 comments on commit b1fbdc5

Please sign in to comment.