Skip to content

Commit

Permalink
Update webgl_materials_alphahash.html
Browse files Browse the repository at this point in the history
Cherry-pick #26519.
  • Loading branch information
Mugen87 committed Aug 1, 2023
1 parent 914287c commit af5df3f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/webgl_materials_alphahash.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,8 @@
//

controls = new OrbitControls( camera, renderer.domElement );
controls.enableDamping = true;
controls.enableZoom = false;
controls.enablePan = false;
controls.dampingFactor = 0.2;

controls.addEventListener( 'change', () => ( needsUpdate = true ) );

Expand Down Expand Up @@ -198,8 +196,6 @@

requestAnimationFrame( animate );

controls.update();

render();

stats.update();
Expand Down

0 comments on commit af5df3f

Please sign in to comment.