|
|
@@ -147,11 +147,9 @@
|
|
|
controls.maxDistance = 10;
|
|
|
controls.maxPolarAngle = 0.5 * Math.PI;
|
|
|
controls.autoRotate = true;
|
|
|
- controls.mouseButtons = {
|
|
|
- LEFT: '',
|
|
|
- TOP: '',
|
|
|
- RIGHT: ''
|
|
|
- }
|
|
|
+ controls.enableZoom = false;
|
|
|
+ controls.enableRotate = false;
|
|
|
+ controls.enablePan = false;
|
|
|
scene.userData.controls = controls;
|
|
|
|
|
|
|