Browse Source

Update webgl_materials_alphahash.html

Cherry-pick #26519.
Michael Herzog 2 years ago
parent
commit
af5df3f145
1 changed files with 0 additions and 4 deletions
  1. 0 4
      examples/webgl_materials_alphahash.html

+ 0 - 4
examples/webgl_materials_alphahash.html

@@ -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 ) );
 
@@ -198,8 +196,6 @@
 
 				requestAnimationFrame( animate );
 
-				controls.update();
-
 				render();
 
 				stats.update();