|
@@ -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();
|